@qqbrowser/openclaw-qbot 0.0.139 → 0.0.142

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 (1565) hide show
  1. package/dist/account-lookup-CW-_CL7y.js +1 -0
  2. package/dist/acp-cli-BaslDuk6.js +1 -0
  3. package/dist/acp-cli-f5-uI85a.js +1 -0
  4. package/dist/active-listener-Cce5tcPa.js +1 -0
  5. package/dist/active-listener-D8VOdVx3.js +1 -0
  6. package/dist/active-listener-DeKRt_UV.js +1 -0
  7. package/dist/active-listener-Dle9QX40.js +1 -0
  8. package/dist/agent-scope-DAWJwFfl.js +1 -0
  9. package/dist/agent-scope-DXZc3eNT.js +1 -0
  10. package/dist/agents-Bpp_F5In.js +1 -0
  11. package/dist/agents.config-B6LRG9eP.js +1 -0
  12. package/dist/agents.config-DfIJAGcd.js +1 -0
  13. package/dist/allow-from-B6dI7oz8.js +1 -0
  14. package/dist/allow-from-DEeVIPKS.js +1 -0
  15. package/dist/api-BeG0ObSq.js +1 -0
  16. package/dist/api-Dx8x1KTs.js +1 -0
  17. package/dist/api-key-rotation-BRt-vnRV.js +1 -0
  18. package/dist/api-key-rotation-CCH1wYVU.js +1 -0
  19. package/dist/api-key-rotation-D0QU-kQ9.js +1 -0
  20. package/dist/api-key-rotation-Di6QgXx7.js +1 -0
  21. package/dist/arg-split-BOqSMBuf.js +1 -0
  22. package/dist/arg-split-DE5RqDHq.js +1 -0
  23. package/dist/audio-preflight-B5o7P9qi.js +1 -0
  24. package/dist/audio-preflight-CxD7VCHW.js +1 -0
  25. package/dist/audio-preflight-DKSCBKRb.js +1 -0
  26. package/dist/audio-preflight-Dpk8-Bmk.js +1 -0
  27. package/dist/audio-transcription-runner-Bd1OZC6K.js +1 -0
  28. package/dist/audio-transcription-runner-D4Bp6MM7.js +1 -0
  29. package/dist/audio-transcription-runner-DPwmBYQj.js +1 -0
  30. package/dist/audio-transcription-runner-DSr6OIz1.js +1 -0
  31. package/dist/audit-C7RP7G_g.js +1 -0
  32. package/dist/audit-jkdcAUep.js +1 -0
  33. package/dist/audit-membership-runtime-BpRsMj5-.js +1 -0
  34. package/dist/audit-membership-runtime-BsfLZNBj.js +1 -0
  35. package/dist/audit-membership-runtime-DRHirRmx.js +1 -0
  36. package/dist/audit-membership-runtime-g0dEWJTp.js +1 -0
  37. package/dist/audit-membership-runtime-kdyToskD.js +1 -0
  38. package/dist/auth-choice-B7LSoXZ_.js +1 -0
  39. package/dist/auth-choice-CxMH4c-u.js +1 -0
  40. package/dist/auth-choice-DvTApGhx.js +1 -0
  41. package/dist/auth-choice-EQdNd7jO.js +1 -0
  42. package/dist/auth-choice-options-B3WQyS7I.js +1 -0
  43. package/dist/auth-choice-options-Dw14noox.js +1 -0
  44. package/dist/auth-choice-prompt-uegl56cf.js +1 -0
  45. package/dist/auth-choice-prompt-xYj13czb.js +1 -0
  46. package/dist/auth-choice.apply-helpers-B7S-PcH_.js +1 -0
  47. package/dist/auth-choice.apply-helpers-gaL-oSft.js +1 -0
  48. package/dist/auth-profiles-T8DuH3ax.js +1 -0
  49. package/dist/auth-token-9OTF1FmL.js +1 -0
  50. package/dist/auth-token-kGltuM6S.js +1 -0
  51. package/dist/banner-9u45RL26.js +1 -0
  52. package/dist/bonjour-discovery-CFZXPega.js +1 -0
  53. package/dist/bonjour-discovery-CjivQOxi.js +1 -0
  54. package/dist/boolean-Ch3DfXPy.js +1 -0
  55. package/dist/boolean-D15s2V33.js +1 -0
  56. package/dist/boolean-DypnRoRK.js +1 -0
  57. package/dist/brew-COcDl8CB.js +1 -0
  58. package/dist/brew-DDPm_HfE.js +1 -0
  59. package/dist/browser-cli-DQHE2iPY.js +1 -0
  60. package/dist/browser-cli-Dt0ds-an.js +1 -0
  61. package/dist/build-info.json +3 -3
  62. package/dist/bundled/boot-md/handler.js +1 -0
  63. package/dist/bundled/bootstrap-extra-files/handler.js +1 -0
  64. package/dist/bundled/command-logger/handler.js +1 -0
  65. package/dist/bundled/session-memory/handler.js +1 -0
  66. package/dist/call-B8Fb4_oh.js +1 -0
  67. package/dist/call-CqoMqP5b.js +1 -0
  68. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  69. package/dist/canvas-host/a2ui/a2ui.bundle.js +1705 -2
  70. package/dist/channel-account-context-BMPAMZEv.js +1 -0
  71. package/dist/channel-account-context-DAcarnqW.js +1 -0
  72. package/dist/channel-activity-B04WbrrK.js +1 -0
  73. package/dist/channel-activity-BBrgoad1.js +1 -0
  74. package/dist/channel-activity-CgbOWaay.js +1 -0
  75. package/dist/channel-activity-YIMhOAUo.js +1 -0
  76. package/dist/channel-activity-YjYNzCpJ.js +1 -0
  77. package/dist/channel-options-CEIzjOno.js +1 -0
  78. package/dist/channel-options-D2syI791.js +1 -0
  79. package/dist/channel-selection-BBeE1TmB.js +1 -0
  80. package/dist/channel-selection-CbNtbAEf.js +1 -0
  81. package/dist/channel-web-BrElpZAc.js +1 -0
  82. package/dist/channel-web-CxHbET4B.js +1 -0
  83. package/dist/channels/plugins/actions/discord.js +1 -0
  84. package/dist/channels/plugins/actions/signal.js +1 -0
  85. package/dist/channels/plugins/actions/telegram.js +1 -0
  86. package/dist/channels/plugins/agent-tools/whatsapp-login.js +1 -0
  87. package/dist/channels-cli-BmAJuuRs.js +1 -0
  88. package/dist/channels-cli-Dgosczr6.js +1 -0
  89. package/dist/channels-status-issues-8eFrGKyf.js +1 -0
  90. package/dist/channels-status-issues-PRgOT90w.js +1 -0
  91. package/dist/chat-envelope-Bznn2SoS.js +1 -0
  92. package/dist/chat-envelope-HVpKusFc.js +1 -0
  93. package/dist/clack-prompter-DBPdGdqp.js +1 -0
  94. package/dist/clack-prompter-Dq0aY6iM.js +1 -0
  95. package/dist/clawbot-cli-CgS7TkEx.js +1 -0
  96. package/dist/clawbot-cli-DZ2K0OTk.js +1 -0
  97. package/dist/cleanup-utils-BWm70DoD.js +1 -0
  98. package/dist/cleanup-utils-D-RhEX6F.js +1 -0
  99. package/dist/cli-BcnoCo4z.js +1 -0
  100. package/dist/cli-D8T2tphD.js +1 -0
  101. package/dist/cli-utils-BY7dLMFy.js +1 -0
  102. package/dist/cli-utils-BleB1eys.js +1 -0
  103. package/dist/clipboard-Bk8cviBt.js +1 -0
  104. package/dist/clipboard-CKT_VIkG.js +1 -0
  105. package/dist/cmd-argv-BBT5l8AV.js +1 -0
  106. package/dist/cmd-argv-Bh-KpaZ0.js +1 -0
  107. package/dist/command-format-BbDT1tlm.js +1 -0
  108. package/dist/command-format-CLxIPuLR.js +1 -0
  109. package/dist/command-options-BpOUDl2S.js +1 -0
  110. package/dist/command-options-Bq5nQxz6.js +1 -0
  111. package/dist/command-poll-backoff-BZLHYB2k.js +1 -0
  112. package/dist/command-poll-backoff-Cww_r-24.js +1 -0
  113. package/dist/command-poll-backoff-Df6cOQrX.js +1 -0
  114. package/dist/command-poll-backoff-endAPdwn.js +1 -0
  115. package/dist/command-registry-CfuXCRwV.js +1 -0
  116. package/dist/command-secret-targets-BVN3kiT9.js +1 -0
  117. package/dist/command-secret-targets-BlN-J_fA.js +1 -0
  118. package/dist/commands-CGpM84iR.js +1 -0
  119. package/dist/commands-Dy7duWlt.js +1 -0
  120. package/dist/commands-registry-B1x54ukc.js +1 -0
  121. package/dist/commands-registry-Cpl4QnG4.js +1 -0
  122. package/dist/commands-registry-D40KqYOm.js +1 -0
  123. package/dist/commands-registry-SeddSmFK.js +1 -0
  124. package/dist/compact-Dg66DXx_.js +1 -0
  125. package/dist/completion-cli-BZi4nuQb.js +1 -0
  126. package/dist/completion-cli-C40TWdsv.js +1 -0
  127. package/dist/config-BqW5S1xL.js +1 -0
  128. package/dist/config-D12ZLKqh.js +1 -0
  129. package/dist/config-cli-1ojSLwAj.js +1 -0
  130. package/dist/config-cli-CBte2b1h.js +1 -0
  131. package/dist/config-guard-BTNXbWoO.js +1 -0
  132. package/dist/config-guard-sYYx9zEF.js +1 -0
  133. package/dist/config-validation-C1La_IZU.js +1 -0
  134. package/dist/config-validation-DviYxW8Y.js +1 -0
  135. package/dist/configure-DJrNDEpR.js +1 -0
  136. package/dist/configure-kod4tmZa.js +1 -0
  137. package/dist/connection-auth-B_Uk6Vk8.js +1 -0
  138. package/dist/connection-auth-C8iru0UB.js +1 -0
  139. package/dist/context-window-guard-7crlatf9.js +1 -0
  140. package/dist/context-window-guard-CPChk363.js +1 -0
  141. package/dist/control-ui-assets-BIa0GGDg.js +1 -0
  142. package/dist/control-ui-assets-CTHGGgaX.js +1 -0
  143. package/dist/cron-cli-Dha16Lo-.js +1 -0
  144. package/dist/cron-cli-QHS2pKZ_.js +1 -0
  145. package/dist/daemon-cli-BuXTzSnU.js +1 -0
  146. package/dist/daemon-cli-DOTKuS7d.js +1 -0
  147. package/dist/daemon-cli.js +1 -0
  148. package/dist/daemon-install-C30rBssi.js +1 -0
  149. package/dist/daemon-install-HrqlOCrc.js +1 -0
  150. package/dist/daemon-install-plan.shared-CfA37Ut_.js +1 -0
  151. package/dist/daemon-install-plan.shared-Dx3DBXCG.js +1 -0
  152. package/dist/daemon-runtime-DHiDbRuC.js +1 -0
  153. package/dist/daemon-runtime-VcpeBRJV.js +1 -0
  154. package/dist/dangerous-name-matching-BOmvAibz.js +1 -0
  155. package/dist/dangerous-name-matching-DtllRqBD.js +1 -0
  156. package/dist/dangerous-tools-CFRYQJ6V.js +1 -0
  157. package/dist/dangerous-tools-oYCu5wfC.js +1 -0
  158. package/dist/deliver-56mQkDw3.js +1 -0
  159. package/dist/deliver-BFQ4Zx9z.js +1 -0
  160. package/dist/deliver-BHuhHfkH.js +1 -0
  161. package/dist/deliver-ClBkV2eD.js +1 -0
  162. package/dist/delivery-queue-CKbauSFq.js +1 -0
  163. package/dist/delivery-queue-nkPJu0fY.js +1 -0
  164. package/dist/device-pairing-CTFpaTrD.js +1 -0
  165. package/dist/device-pairing-QTK0dod3.js +1 -0
  166. package/dist/devices-cli-Ckxd0k0I.js +1 -0
  167. package/dist/devices-cli-Db36mBHq.js +1 -0
  168. package/dist/diagnostic-BrE4lMIf.js +1 -0
  169. package/dist/diagnostic-CDxNevIQ.js +1 -0
  170. package/dist/diagnostic-DOzHPnht.js +1 -0
  171. package/dist/diagnostic-DQq4Bwrs.js +1 -0
  172. package/dist/diagnostics-BgbeL9KE.js +1 -0
  173. package/dist/diagnostics-Cdctg9K_.js +1 -0
  174. package/dist/directory-cli-DDTaUkjW.js +1 -0
  175. package/dist/directory-cli-_gTFSHMW.js +1 -0
  176. package/dist/dns-cli--4PwtR2Y.js +1 -0
  177. package/dist/dns-cli-C4DwKquN.js +1 -0
  178. package/dist/docs-cli-Cdw9Iz9a.js +1 -0
  179. package/dist/docs-cli-ClD2UyX1.js +1 -0
  180. package/dist/doctor-completion-BJ6steqx.js +1 -0
  181. package/dist/doctor-completion-DMJhfrtC.js +1 -0
  182. package/dist/doctor-config-flow-D4F3mz4h.js +1 -0
  183. package/dist/doctor-config-flow-DnOyVZhQ.js +1 -0
  184. package/dist/enable-BhD84GhD.js +1 -0
  185. package/dist/enable-Ccf9wSM8.js +1 -0
  186. package/dist/entry-status-CCwwKO43.js +1 -0
  187. package/dist/entry-status-CoXkbJcX.js +1 -0
  188. package/dist/entry.js +1 -0
  189. package/dist/env-D7wNuBx1.js +1 -0
  190. package/dist/env-overrides-DHtB4kK3.js +1 -0
  191. package/dist/env-overrides-DXJbFrwI.js +1 -0
  192. package/dist/errors-6SQWM9dj.js +1 -0
  193. package/dist/errors-Bunti32V.js +1 -0
  194. package/dist/exec-B3eleY5O.js +1 -0
  195. package/dist/exec-DHqLtFYt.js +1 -0
  196. package/dist/exec-approvals-BXO9Cezj.js +1 -0
  197. package/dist/exec-approvals-BpBNEy6i.js +1 -0
  198. package/dist/exec-approvals-allowlist-CE3nYh0K.js +1 -0
  199. package/dist/exec-approvals-allowlist-D8mN7nxV.js +1 -0
  200. package/dist/exec-approvals-cli-CUcuN63y.js +1 -0
  201. package/dist/exec-approvals-cli-CxUGD08t.js +1 -0
  202. package/dist/exec-safe-bin-runtime-policy-Dt0GchLp.js +1 -0
  203. package/dist/exec-safe-bin-runtime-policy-dcCS_Adf.js +1 -0
  204. package/dist/fetch-B9tORjG8.js +1 -0
  205. package/dist/fetch-BJT3BrkJ.js +1 -0
  206. package/dist/fetch-B_wRifvZ.js +1 -0
  207. package/dist/fetch-Bn0mWg6a.js +1 -0
  208. package/dist/fetch-CQaNr5J1.js +1 -0
  209. package/dist/fetch-Ce-scEU-.js +1 -0
  210. package/dist/fetch-D0rZDHKO.js +1 -0
  211. package/dist/fetch-DHo17YmK.js +1 -0
  212. package/dist/fetch-Dh-apy46.js +1 -0
  213. package/dist/fetch-Dikjvc5M.js +1 -0
  214. package/dist/fetch-DsjPfQlp.js +1 -0
  215. package/dist/fetch-_g8lZ8K8.js +1 -0
  216. package/dist/fetch-guard-BrTtJw7h.js +1 -0
  217. package/dist/fetch-guard-D10s0raB.js +1 -0
  218. package/dist/fetch-guard-DPdY0NXR.js +1 -0
  219. package/dist/fetch-guard-cu7DGSRF.js +1 -0
  220. package/dist/fetch-hy0JKSsm.js +1 -0
  221. package/dist/fetch-timeout-CdYxWG9w.js +1 -0
  222. package/dist/fetch-timeout-Cj8_oAls.js +1 -0
  223. package/dist/fetch-timeout-DoOI_izT.js +1 -0
  224. package/dist/fetch-timeout-u8g99Ax0.js +1 -0
  225. package/dist/format-Bn1bwJKX.js +1 -0
  226. package/dist/format-Ce7I7s-k.js +1 -0
  227. package/dist/format-duration-C8AzNqKh.js +1 -0
  228. package/dist/format-duration-D5AMtmHa.js +1 -0
  229. package/dist/format-relative-B9pSIdGe.js +1 -0
  230. package/dist/format-relative-DkMjYy7z.js +1 -0
  231. package/dist/frontmatter-BkZkwkVO.js +1 -0
  232. package/dist/frontmatter-C7mzDNxd.js +1 -0
  233. package/dist/frontmatter-CzpfPBFl.js +1 -0
  234. package/dist/gateway-cli-CKu0FA7D.js +1 -0
  235. package/dist/gateway-cli-C_s9eMlC.js +1 -0
  236. package/dist/gateway-install-token-BCnuZeh1.js +1 -0
  237. package/dist/gateway-install-token-DiDvDPJQ.js +1 -0
  238. package/dist/gateway-rpc-iFvDyHYd.js +1 -0
  239. package/dist/gateway-rpc-tEEvY0kH.js +1 -0
  240. package/dist/github-copilot-token-C79yeDKS.js +1 -0
  241. package/dist/github-copilot-token-DGYAlOmV.js +1 -0
  242. package/dist/github-copilot-token-DePP-lIf.js +1 -0
  243. package/dist/github-copilot-token-wm6mbypz.js +1 -0
  244. package/dist/gmail-setup-utils-CYOH3zzx.js +1 -0
  245. package/dist/gmail-setup-utils-S-MyEGuj.js +1 -0
  246. package/dist/group-access-BHKVOhrj.js +1 -0
  247. package/dist/group-access-D2DOYMfr.js +1 -0
  248. package/dist/health-BgOggK9k.js +1 -0
  249. package/dist/health-PaRHFItm.js +1 -0
  250. package/dist/health-format-B1nj3Wfn.js +1 -0
  251. package/dist/health-format-VBr6LEpt.js +1 -0
  252. package/dist/heartbeat-visibility-BQ_esv2m.js +1 -0
  253. package/dist/heartbeat-visibility-q74UdY8O.js +1 -0
  254. package/dist/help-format-B4aEI7V9.js +1 -0
  255. package/dist/help-format-BRbF_INg.js +1 -0
  256. package/dist/helpers-COz1ghcB.js +1 -0
  257. package/dist/helpers-Cp8gcO6u.js +1 -0
  258. package/dist/hooks-cli-BzyzTNBx.js +1 -0
  259. package/dist/hooks-cli-CsBrScq0.js +1 -0
  260. package/dist/hooks-status-BHt-Xvh4.js +1 -0
  261. package/dist/hooks-status-CRJ4J0ZW.js +1 -0
  262. package/dist/image-BkWwI54C.js +1 -0
  263. package/dist/image-CcVQg-YN.js +1 -0
  264. package/dist/image-Cm1RUBqD.js +1 -0
  265. package/dist/image-DsoO5VP5.js +1 -0
  266. package/dist/index.js +1 -0
  267. package/dist/inspect-BKV-I1UE.js +1 -0
  268. package/dist/inspect-z59cgmYc.js +1 -0
  269. package/dist/install-safe-path-C6kc_8NW.js +1 -0
  270. package/dist/install-safe-path-iesxijn2.js +1 -0
  271. package/dist/installs-BNeI_oML.js +1 -0
  272. package/dist/installs-C1xQLuby.js +1 -0
  273. package/dist/ipv4-BOuNtoGn.js +1 -0
  274. package/dist/ipv4-CWdaEiVH.js +1 -0
  275. package/dist/ir-BF0M2kGp.js +1 -0
  276. package/dist/ir-D8Hh84ab.js +1 -0
  277. package/dist/ir-DBWscfBd.js +1 -0
  278. package/dist/ir-Dk7OQ4bA.js +1 -0
  279. package/dist/is-main-DG5ueqhF.js +1 -0
  280. package/dist/issue-format-BT7cQEt3.js +1 -0
  281. package/dist/issue-format-C_lNzrKa.js +1 -0
  282. package/dist/kill-tree-B3g7HrAO.js +1 -0
  283. package/dist/lifecycle-core-D9KNCvxY.js +1 -0
  284. package/dist/lifecycle-core-LM5UUUB1.js +1 -0
  285. package/dist/line/accounts.js +1 -0
  286. package/dist/line/send.js +1 -0
  287. package/dist/line/template-messages.js +1 -0
  288. package/dist/links-CBnmRP9D.js +1 -0
  289. package/dist/links-CySwdMcF.js +1 -0
  290. package/dist/llm-slug-generator.js +1 -0
  291. package/dist/load-options-BsOW74dp.js +1 -0
  292. package/dist/load-options-C7dLuybp.js +1 -0
  293. package/dist/load-options-DV4j6Aqb.js +1 -0
  294. package/dist/load-options-Dwt0CeEg.js +1 -0
  295. package/dist/local-roots-6waH0SZ0.js +1 -0
  296. package/dist/logger-5W0OocJW.js +1 -0
  297. package/dist/logger-Bl8URnrW.js +1 -0
  298. package/dist/logger-DwWqfo66.js +1 -0
  299. package/dist/logger-kQAOe3qp.js +1 -0
  300. package/dist/logging-Dqe9dxSX.js +1 -0
  301. package/dist/logging-tYw1NbJd.js +1 -0
  302. package/dist/login-BOlqRyr0.js +1 -0
  303. package/dist/login-CkWesqf_.js +1 -0
  304. package/dist/login-Do_NA1Je.js +1 -0
  305. package/dist/login-op9S8yqv.js +1 -0
  306. package/dist/login-qr-B6rxvoTS.js +1 -0
  307. package/dist/login-qr-BGH9zmhw.js +1 -0
  308. package/dist/login-qr-CiENvgog.js +1 -0
  309. package/dist/login-qr-DsV-lxFd.js +1 -0
  310. package/dist/login-qr-QcDMg23y.js +1 -0
  311. package/dist/logs-cli-B4eUg_87.js +1 -0
  312. package/dist/logs-cli-BA3Aso8a.js +1 -0
  313. package/dist/manager-4Y9fRgdw.js +1 -0
  314. package/dist/manager-C2YW7Hkq.js +1 -0
  315. package/dist/manager-Dtd_loL8.js +1 -0
  316. package/dist/manager-M1GKhLUC.js +1 -0
  317. package/dist/memory-cli-XaxtBQm1.js +1 -0
  318. package/dist/memory-cli-jhzJ3as7.js +1 -0
  319. package/dist/model-catalog-C1kpjR75.js +1 -0
  320. package/dist/model-catalog-COVzoZD9.js +1 -0
  321. package/dist/model-param-b-B0r2cPDw.js +1 -0
  322. package/dist/model-param-b-BqIr5rY5.js +1 -0
  323. package/dist/model-picker-D3ZSpr0i.js +1 -0
  324. package/dist/model-picker-bZNuI66U.js +1 -0
  325. package/dist/model-selection-B5JsBS9D.js +1 -0
  326. package/dist/model-selection-BlC_rXAN.js +1 -0
  327. package/dist/model-selection-vfhBuN9O.js +1 -0
  328. package/dist/models-C_Vg3Cty.js +1 -0
  329. package/dist/models-cli-CDZliTXq.js +1 -0
  330. package/dist/models-cli-bGr8jwAb.js +1 -0
  331. package/dist/models-config-CdMhNxKV.js +1 -0
  332. package/dist/models-config-_htt7eY5.js +1 -0
  333. package/dist/mutable-allowlist-detectors-C4rNVag8.js +1 -0
  334. package/dist/mutable-allowlist-detectors-CL0qe54J.js +1 -0
  335. package/dist/node-cli-5lYbDZ70.js +1 -0
  336. package/dist/node-cli-Br04Qmqo.js +1 -0
  337. package/dist/node-command-policy-CejeQemH.js +1 -0
  338. package/dist/node-command-policy-CqXhdnHh.js +1 -0
  339. package/dist/node-commands-8GBOiktk.js +1 -0
  340. package/dist/node-commands-DdkziOTx.js +1 -0
  341. package/dist/node-resolve-B3BJbmQX.js +1 -0
  342. package/dist/node-resolve-DLZf3-1V.js +1 -0
  343. package/dist/node-service-BRfrNp8l.js +1 -0
  344. package/dist/node-service-C0bl7jcZ.js +1 -0
  345. package/dist/node-shell-DyOfwHrh.js +1 -0
  346. package/dist/nodes-cli-8By8--bW.js +1 -0
  347. package/dist/nodes-cli-zq41EwJN.js +1 -0
  348. package/dist/nodes-screen-DECgxo6A.js +1 -0
  349. package/dist/note-D4GAwgha.js +1 -0
  350. package/dist/note-Dp-d_utk.js +1 -0
  351. package/dist/npm-pack-install-B23L-AtF.js +1 -0
  352. package/dist/npm-pack-install-C0te3Oap.js +1 -0
  353. package/dist/npm-resolution-BnJGLwhi.js +1 -0
  354. package/dist/npm-resolution-DWPloph4.js +1 -0
  355. package/dist/oauth-env-DAamJ1oz.js +1 -0
  356. package/dist/oauth-env-DSLBTWb1.js +1 -0
  357. package/dist/oauth-tls-preflight-BSBRDIfC.js +1 -0
  358. package/dist/oauth-tls-preflight-ByNjbUR5.js +1 -0
  359. package/dist/ollama-setup-BMEKWyIE.js +1 -0
  360. package/dist/ollama-setup-DlwS6Gl-.js +1 -0
  361. package/dist/onboard-B0BNCQaO.js +1 -0
  362. package/dist/onboard-CjVhdaiR.js +1 -0
  363. package/dist/onboard-channels-BMIOddLN.js +1 -0
  364. package/dist/onboard-channels-CZK_7xMR.js +1 -0
  365. package/dist/onboard-config-B7U20YRw.js +1 -0
  366. package/dist/onboard-config-DS9dUv8M.js +1 -0
  367. package/dist/onboard-custom-B03SlEHB.js +1 -0
  368. package/dist/onboard-custom-Bl0y8c-g.js +1 -0
  369. package/dist/onboard-helpers-PGl5bVPE.js +1 -0
  370. package/dist/onboard-helpers-zwybUJWu.js +1 -0
  371. package/dist/onboard-hooks-CERzXObm.js +1 -0
  372. package/dist/onboard-hooks-gQ3sxBNi.js +1 -0
  373. package/dist/onboard-provider-auth-flags-CqbipO7D.js +1 -0
  374. package/dist/onboard-provider-auth-flags-Dvwzdz37.js +1 -0
  375. package/dist/onboard-remote-BOpIRdDu.js +1 -0
  376. package/dist/onboard-remote-DPU-H_2O.js +1 -0
  377. package/dist/onboard-search-f2tJD4hg.js +1 -0
  378. package/dist/onboard-search-fslKKhyg.js +1 -0
  379. package/dist/onboard-skills-BMAJs6ly.js +1 -0
  380. package/dist/onboard-skills-CMSQc2Mm.js +1 -0
  381. package/dist/onboarding-B6ixWwgp.js +1 -0
  382. package/dist/onboarding-ouEqUuUr.js +1 -0
  383. package/dist/onboarding.finalize-Bgat5Npc.js +1 -0
  384. package/dist/onboarding.finalize-DsMVlTcH.js +1 -0
  385. package/dist/onboarding.gateway-config-BtLDJWJ2.js +1 -0
  386. package/dist/onboarding.gateway-config-y3pqsL9i.js +1 -0
  387. package/dist/onboarding.secret-input-BsBgh8Tc.js +1 -0
  388. package/dist/onboarding.secret-input-kO5OzYC7.js +1 -0
  389. package/dist/openai-codex-model-default-DuE2_wN7.js +1 -0
  390. package/dist/openai-codex-model-default-yVfRw-Mm.js +1 -0
  391. package/dist/openai-model-default-Bl8MHPb6.js +1 -0
  392. package/dist/openai-model-default-DJObMvLJ.js +1 -0
  393. package/dist/openclaw-exec-env-BWbOu_YC.js +1 -0
  394. package/dist/openclaw-root-CnsBf6ZU.js +1 -0
  395. package/dist/openclaw-root-D_0Q6--h.js +1 -0
  396. package/dist/outbound-BOSIEiEY.js +1 -0
  397. package/dist/outbound-BtUeDLjU.js +1 -0
  398. package/dist/outbound-Bx2Z2aYK.js +1 -0
  399. package/dist/outbound-Bz8bbrMI.js +1 -0
  400. package/dist/outbound-attachment-B7wMxwj6.js +1 -0
  401. package/dist/outbound-attachment-BgAe99RM.js +1 -0
  402. package/dist/outbound-attachment-Dds8xirj.js +1 -0
  403. package/dist/outbound-attachment-DqEKghQp.js +1 -0
  404. package/dist/pairing-cli-Bya9M-I_.js +1 -0
  405. package/dist/pairing-cli-D2JEhufv.js +1 -0
  406. package/dist/pairing-labels-BUU_-70B.js +1 -0
  407. package/dist/pairing-labels-D-kzQEL2.js +1 -0
  408. package/dist/pairing-store-BH-FTYkn.js +1 -0
  409. package/dist/pairing-store-Cg2UxreQ.js +1 -0
  410. package/dist/pairing-token-BjYBuREl.js +1 -0
  411. package/dist/pairing-token-DAR7V7FJ.js +1 -0
  412. package/dist/parse-duration-XTjMKl8s.js +1 -0
  413. package/dist/parse-finite-number-DqzUM-_s.js +1 -0
  414. package/dist/parse-finite-number-dBmDLLKL.js +1 -0
  415. package/dist/parse-log-line-CsYLg7Qu.js +1 -0
  416. package/dist/parse-log-line-NV-cipB_.js +1 -0
  417. package/dist/parse-port-Bv1Y9Wk5.js +1 -0
  418. package/dist/parse-port-JVwkxcZ8.js +1 -0
  419. package/dist/parse-timeout-DWSGfCkQ.js +1 -0
  420. package/dist/parse-timeout-Dx4QnVzo.js +1 -0
  421. package/dist/path-alias-guards-kY_ZbWs-.js +1 -0
  422. package/dist/path-alias-guards-mvyLCPlN.js +1 -0
  423. package/dist/path-env-BPd1Yd-i.js +1 -0
  424. package/dist/path-env-emdAQejM.js +1 -0
  425. package/dist/path-safety-BukYK8Kd.js +1 -0
  426. package/dist/path-safety-DaaMJFdt.js +1 -0
  427. package/dist/paths-B4IRk3wi.js +1 -0
  428. package/dist/paths-BfjJY2VL.js +1 -0
  429. package/dist/paths-BjD3T_xq.js +1 -0
  430. package/dist/paths-BpQOWYiT.js +1 -0
  431. package/dist/paths-CChBdtE8.js +1 -0
  432. package/dist/paths-CrCoPIVK.js +1 -0
  433. package/dist/paths-piJASC5k.js +1 -0
  434. package/dist/paths-yLEk_25I.js +1 -0
  435. package/dist/pi-embedded-BZSn84Bh.js +1 -0
  436. package/dist/pi-embedded-Dsz7p3MF.js +1 -0
  437. package/dist/pi-model-discovery-BbD1YJNx.js +1 -0
  438. package/dist/pi-model-discovery-CpjYoBQf.js +1 -0
  439. package/dist/pi-model-discovery-DeQdHV8O.js +1 -0
  440. package/dist/pi-model-discovery-Dps1PPWz.js +1 -0
  441. package/dist/pi-tools.before-tool-call.runtime-DseAq0gm.js +1 -0
  442. package/dist/pi-tools.before-tool-call.runtime-KKGILAuK.js +1 -0
  443. package/dist/pi-tools.before-tool-call.runtime-Pck2WdIO.js +1 -0
  444. package/dist/pi-tools.before-tool-call.runtime-ZzMJQ1BP.js +1 -0
  445. package/dist/pi-tools.policy-D40r0HmD.js +1 -0
  446. package/dist/plugin-auto-enable-DpVL6-ES.js +1 -0
  447. package/dist/plugin-auto-enable-NzmNh4oU.js +1 -0
  448. package/dist/plugin-install-plan-BobX0y9S.js +1 -0
  449. package/dist/plugin-install-plan-NvDGp0d8.js +1 -0
  450. package/dist/plugin-registry-C6dY-Et7.js +1 -0
  451. package/dist/plugin-registry-CIBiHZH1.js +1 -0
  452. package/dist/plugin-sdk/account-id.cjs +1 -0
  453. package/dist/plugin-sdk/account-id.js +1 -0
  454. package/dist/plugin-sdk/acpx.cjs +1 -0
  455. package/dist/plugin-sdk/acpx.js +1 -0
  456. package/dist/plugin-sdk/active-listener-BApFQlQn.js +1 -0
  457. package/dist/plugin-sdk/active-listener-BETopzG5.cjs +1 -0
  458. package/dist/plugin-sdk/active-listener-BEcmvyxh.cjs +1 -0
  459. package/dist/plugin-sdk/active-listener-BZPPbsNy.cjs +1 -0
  460. package/dist/plugin-sdk/active-listener-B_Mxemq7.cjs +1 -0
  461. package/dist/plugin-sdk/active-listener-BgW_qfd3.js +1 -0
  462. package/dist/plugin-sdk/active-listener-Coet66pF.cjs +1 -0
  463. package/dist/plugin-sdk/active-listener-CvML9qVF.js +1 -0
  464. package/dist/plugin-sdk/active-listener-DuO6KMXJ.js +1 -0
  465. package/dist/plugin-sdk/active-listener-DymzfmOG.cjs +1 -0
  466. package/dist/plugin-sdk/active-listener-ILBdBHMv.js +1 -0
  467. package/dist/plugin-sdk/active-listener-gRRIfN1q.js +1 -0
  468. package/dist/plugin-sdk/api-key-rotation-Bj1A9Slo.cjs +1 -0
  469. package/dist/plugin-sdk/api-key-rotation-CFPNzksf.cjs +1 -0
  470. package/dist/plugin-sdk/api-key-rotation-CXY0AyM1.js +1 -0
  471. package/dist/plugin-sdk/api-key-rotation-ClIwV8yq.js +1 -0
  472. package/dist/plugin-sdk/api-key-rotation-D5Nr1xl3.js +1 -0
  473. package/dist/plugin-sdk/api-key-rotation-DDCwA0KM.cjs +1 -0
  474. package/dist/plugin-sdk/api-key-rotation-DHMvXm70.cjs +1 -0
  475. package/dist/plugin-sdk/api-key-rotation-DaFFZfk5.js +1 -0
  476. package/dist/plugin-sdk/api-key-rotation-DcREl_0x.js +1 -0
  477. package/dist/plugin-sdk/api-key-rotation-X-5Fb7av.cjs +1 -0
  478. package/dist/plugin-sdk/api-key-rotation-_VfXYfHS.js +1 -0
  479. package/dist/plugin-sdk/api-key-rotation-wFUVOOfM.cjs +1 -0
  480. package/dist/plugin-sdk/audio-preflight-B1MP5_bc.cjs +1 -0
  481. package/dist/plugin-sdk/audio-preflight-BETx142T.cjs +1 -0
  482. package/dist/plugin-sdk/audio-preflight-BGRLhCLc.cjs +1 -0
  483. package/dist/plugin-sdk/audio-preflight-BNICfOY5.cjs +1 -0
  484. package/dist/plugin-sdk/audio-preflight-BV3Cav8M.js +1 -0
  485. package/dist/plugin-sdk/audio-preflight-BmO72Cqr.cjs +1 -0
  486. package/dist/plugin-sdk/audio-preflight-BpE8wFQc.js +1 -0
  487. package/dist/plugin-sdk/audio-preflight-CTAafaiH.js +1 -0
  488. package/dist/plugin-sdk/audio-preflight-D82aewIt.js +1 -0
  489. package/dist/plugin-sdk/audio-preflight-DmzxEaq3.cjs +1 -0
  490. package/dist/plugin-sdk/audio-preflight-DrSIYRnD.js +1 -0
  491. package/dist/plugin-sdk/audio-preflight-SZZoA2Ff.js +1 -0
  492. package/dist/plugin-sdk/audio-transcription-runner-B54MyF1_.js +1 -0
  493. package/dist/plugin-sdk/audio-transcription-runner-BIqM5H5q.js +1 -0
  494. package/dist/plugin-sdk/audio-transcription-runner-BLAxZL-U.js +1 -0
  495. package/dist/plugin-sdk/audio-transcription-runner-BVmaaA2k.js +1 -0
  496. package/dist/plugin-sdk/audio-transcription-runner-BdY-TMcc.js +1 -0
  497. package/dist/plugin-sdk/audio-transcription-runner-By3lSLub.cjs +1 -0
  498. package/dist/plugin-sdk/audio-transcription-runner-CH5CoZrF.cjs +1 -0
  499. package/dist/plugin-sdk/audio-transcription-runner-CMsp7bhn.cjs +1 -0
  500. package/dist/plugin-sdk/audio-transcription-runner-ClGibmMi.cjs +1 -0
  501. package/dist/plugin-sdk/audio-transcription-runner-QfEC19vE.cjs +1 -0
  502. package/dist/plugin-sdk/audio-transcription-runner-g7L0m-Z5.cjs +1 -0
  503. package/dist/plugin-sdk/audio-transcription-runner-pVTD93vq.js +1 -0
  504. package/dist/plugin-sdk/audit-membership-runtime-7LqcvqFo.js +1 -0
  505. package/dist/plugin-sdk/audit-membership-runtime-BQFUzFc0.cjs +1 -0
  506. package/dist/plugin-sdk/audit-membership-runtime-BYtdDX9G.cjs +1 -0
  507. package/dist/plugin-sdk/audit-membership-runtime-BzEtBUX6.cjs +1 -0
  508. package/dist/plugin-sdk/audit-membership-runtime-CBUmGrl4.js +1 -0
  509. package/dist/plugin-sdk/audit-membership-runtime-ChlVgt2y.js +1 -0
  510. package/dist/plugin-sdk/audit-membership-runtime-DLRX7LR0.js +1 -0
  511. package/dist/plugin-sdk/audit-membership-runtime-DbJW5X3L.cjs +1 -0
  512. package/dist/plugin-sdk/audit-membership-runtime-Du9LAxDa.cjs +1 -0
  513. package/dist/plugin-sdk/audit-membership-runtime-DylNnj1m.js +1 -0
  514. package/dist/plugin-sdk/audit-membership-runtime-voi5sPwF.js +1 -0
  515. package/dist/plugin-sdk/audit-membership-runtime-yWYvSpgZ.cjs +1 -0
  516. package/dist/plugin-sdk/bluebubbles.cjs +1 -0
  517. package/dist/plugin-sdk/bluebubbles.js +1 -0
  518. package/dist/plugin-sdk/channel-activity-BGK-Bj2_.cjs +1 -0
  519. package/dist/plugin-sdk/channel-activity-BRHvpV0C.js +1 -0
  520. package/dist/plugin-sdk/channel-activity-CKfWFchu.js +1 -0
  521. package/dist/plugin-sdk/channel-activity-CLUi31fX.cjs +1 -0
  522. package/dist/plugin-sdk/channel-activity-CVOp-PL4.cjs +1 -0
  523. package/dist/plugin-sdk/channel-activity-CgXnZ0GC.cjs +1 -0
  524. package/dist/plugin-sdk/channel-activity-CmYpOPAn.js +1 -0
  525. package/dist/plugin-sdk/channel-activity-CwaMf9qT.cjs +1 -0
  526. package/dist/plugin-sdk/channel-activity-D5D5tBWf.cjs +1 -0
  527. package/dist/plugin-sdk/channel-activity-D7tpmatp.js +1 -0
  528. package/dist/plugin-sdk/channel-activity-DpxSOlXF.js +1 -0
  529. package/dist/plugin-sdk/channel-activity-spvDzlTl.js +1 -0
  530. package/dist/plugin-sdk/channel-web-4ZQVqsrt.js +1 -0
  531. package/dist/plugin-sdk/channel-web-9zn1Itpg.cjs +1 -0
  532. package/dist/plugin-sdk/channel-web-BrB00HKH.js +1 -0
  533. package/dist/plugin-sdk/channel-web-DN5La-Ol.cjs +1 -0
  534. package/dist/plugin-sdk/command-poll-backoff-4910Mpwp.js +1 -0
  535. package/dist/plugin-sdk/command-poll-backoff-BLJZzV5W.cjs +1 -0
  536. package/dist/plugin-sdk/command-poll-backoff-CUNcN0dv.cjs +1 -0
  537. package/dist/plugin-sdk/command-poll-backoff-Cww_r-24.js +1 -0
  538. package/dist/plugin-sdk/command-poll-backoff-D0lJhquZ.js +1 -0
  539. package/dist/plugin-sdk/command-poll-backoff-Glwt3wHa.cjs +1 -0
  540. package/dist/plugin-sdk/commands-registry-5lStNoKW.cjs +1 -0
  541. package/dist/plugin-sdk/commands-registry-C8wnXqNa.cjs +1 -0
  542. package/dist/plugin-sdk/commands-registry-Cnr6PvIw.js +1 -0
  543. package/dist/plugin-sdk/commands-registry-CtYCWfuM.cjs +1 -0
  544. package/dist/plugin-sdk/commands-registry-D2gv242l.js +1 -0
  545. package/dist/plugin-sdk/commands-registry-DI2vPscP.js +1 -0
  546. package/dist/plugin-sdk/commands-registry-DcBvmwSU.js +1 -0
  547. package/dist/plugin-sdk/commands-registry-DkUhCIDk.cjs +1 -0
  548. package/dist/plugin-sdk/commands-registry-DsMbmie-.cjs +1 -0
  549. package/dist/plugin-sdk/commands-registry-MCsWR5Vf.js +1 -0
  550. package/dist/plugin-sdk/commands-registry-SHZVq_qf.cjs +1 -0
  551. package/dist/plugin-sdk/commands-registry-kRjFifgj.js +1 -0
  552. package/dist/plugin-sdk/common-B4iFXuoZ.cjs +1 -0
  553. package/dist/plugin-sdk/common-B6fDMl_i.js +1 -0
  554. package/dist/plugin-sdk/compat.cjs +1 -0
  555. package/dist/plugin-sdk/compat.js +1 -0
  556. package/dist/plugin-sdk/config-ByA2hluR.js +1 -0
  557. package/dist/plugin-sdk/config-rBz8C_Hi.cjs +1 -0
  558. package/dist/plugin-sdk/copilot-proxy.cjs +1 -0
  559. package/dist/plugin-sdk/copilot-proxy.js +1 -0
  560. package/dist/plugin-sdk/core.cjs +1 -0
  561. package/dist/plugin-sdk/core.js +1 -0
  562. package/dist/plugin-sdk/deliver-B0fB4hAV.js +1 -0
  563. package/dist/plugin-sdk/deliver-BOLmjIJ3.js +1 -0
  564. package/dist/plugin-sdk/deliver-BrfVwkYz.cjs +1 -0
  565. package/dist/plugin-sdk/deliver-C-tChWTI.cjs +1 -0
  566. package/dist/plugin-sdk/deliver-CjQPkWS-.cjs +1 -0
  567. package/dist/plugin-sdk/deliver-D1P0FNTu.js +1 -0
  568. package/dist/plugin-sdk/deliver-DCrO9mvv.cjs +1 -0
  569. package/dist/plugin-sdk/deliver-DQLekoj2.cjs +1 -0
  570. package/dist/plugin-sdk/deliver-DkfCVM78.js +1 -0
  571. package/dist/plugin-sdk/deliver-Dkh3lqXR.js +1 -0
  572. package/dist/plugin-sdk/deliver-DsFtXFyr.cjs +1 -0
  573. package/dist/plugin-sdk/deliver-vYe_sYOL.js +1 -0
  574. package/dist/plugin-sdk/device-pair.cjs +1 -0
  575. package/dist/plugin-sdk/device-pair.js +1 -0
  576. package/dist/plugin-sdk/diagnostic-8iX73nz_.cjs +1 -0
  577. package/dist/plugin-sdk/diagnostic-CLUtpxAp.js +1 -0
  578. package/dist/plugin-sdk/diagnostic-CVS4k9hh.cjs +1 -0
  579. package/dist/plugin-sdk/diagnostic-CkePwN5F.js +1 -0
  580. package/dist/plugin-sdk/diagnostic-Cu1PGj0E.cjs +1 -0
  581. package/dist/plugin-sdk/diagnostic-D0oCfBju.cjs +1 -0
  582. package/dist/plugin-sdk/diagnostic-D7A9cQYf.cjs +1 -0
  583. package/dist/plugin-sdk/diagnostic-DGLX0zXU.js +1 -0
  584. package/dist/plugin-sdk/diagnostic-DXscFT8t.cjs +1 -0
  585. package/dist/plugin-sdk/diagnostic-Efe4b81B.js +1 -0
  586. package/dist/plugin-sdk/diagnostic-EqHqw9xo.js +1 -0
  587. package/dist/plugin-sdk/diagnostic-vsjHZ_fY.js +1 -0
  588. package/dist/plugin-sdk/diagnostics-otel.cjs +1 -0
  589. package/dist/plugin-sdk/diagnostics-otel.js +1 -0
  590. package/dist/plugin-sdk/diffs.cjs +1 -0
  591. package/dist/plugin-sdk/diffs.js +1 -0
  592. package/dist/plugin-sdk/discord.cjs +1 -0
  593. package/dist/plugin-sdk/discord.js +1 -0
  594. package/dist/plugin-sdk/dispatch-5v3v8zzA.js +1 -0
  595. package/dist/plugin-sdk/dispatch-B6UbZCpL.cjs +1 -0
  596. package/dist/plugin-sdk/dispatch-BYlcmJ9u.js +1 -0
  597. package/dist/plugin-sdk/dispatch-C2YTqGlf.js +1 -0
  598. package/dist/plugin-sdk/dispatch-CNy3g9ma.cjs +1 -0
  599. package/dist/plugin-sdk/dispatch-DCSwqteL.js +1 -0
  600. package/dist/plugin-sdk/dispatch-DHbSBeFJ.js +1 -0
  601. package/dist/plugin-sdk/dispatch-DK5ub8qa.cjs +1 -0
  602. package/dist/plugin-sdk/dispatch-SWyfAZT0.cjs +1 -0
  603. package/dist/plugin-sdk/dispatch-mR2vLkGa.cjs +1 -0
  604. package/dist/plugin-sdk/feishu.cjs +1 -0
  605. package/dist/plugin-sdk/feishu.js +1 -0
  606. package/dist/plugin-sdk/fetch-7Iq9POda.js +1 -0
  607. package/dist/plugin-sdk/fetch-B1GR6-u4.js +1 -0
  608. package/dist/plugin-sdk/fetch-B27H-XCf.js +1 -0
  609. package/dist/plugin-sdk/fetch-BMYDLRWo.js +1 -0
  610. package/dist/plugin-sdk/fetch-BN9y3kTg.cjs +1 -0
  611. package/dist/plugin-sdk/fetch-BVEVk5YF.js +1 -0
  612. package/dist/plugin-sdk/fetch-BY6lVRlY.cjs +1 -0
  613. package/dist/plugin-sdk/fetch-Bi8krAaT.cjs +1 -0
  614. package/dist/plugin-sdk/fetch-BjXhwqrE.cjs +1 -0
  615. package/dist/plugin-sdk/fetch-BtZY623f.js +1 -0
  616. package/dist/plugin-sdk/fetch-C-HRWp5R.js +1 -0
  617. package/dist/plugin-sdk/fetch-C3LEMysf.js +1 -0
  618. package/dist/plugin-sdk/fetch-CCLWsYaQ.js +1 -0
  619. package/dist/plugin-sdk/fetch-CZewCAvu.cjs +1 -0
  620. package/dist/plugin-sdk/fetch-ClKErpni.cjs +1 -0
  621. package/dist/plugin-sdk/fetch-DBRI0sKI.js +1 -0
  622. package/dist/plugin-sdk/fetch-DQxuOB8o.cjs +1 -0
  623. package/dist/plugin-sdk/fetch-DUMEaqum.cjs +1 -0
  624. package/dist/plugin-sdk/fetch-DpwR_cJU.cjs +1 -0
  625. package/dist/plugin-sdk/fetch-J0IzopiJ.js +1 -0
  626. package/dist/plugin-sdk/fetch-guard-8I7EHbDM.cjs +1 -0
  627. package/dist/plugin-sdk/fetch-guard-CIJUkBIL.cjs +1 -0
  628. package/dist/plugin-sdk/fetch-guard-CY03i4gu.js +1 -0
  629. package/dist/plugin-sdk/fetch-guard-Cz-cgYmR.cjs +1 -0
  630. package/dist/plugin-sdk/fetch-guard-DB85MORy.cjs +1 -0
  631. package/dist/plugin-sdk/fetch-guard-DE9BslxX.js +1 -0
  632. package/dist/plugin-sdk/fetch-guard-DLNzldn9.cjs +1 -0
  633. package/dist/plugin-sdk/fetch-guard-DSvAbvSx.js +1 -0
  634. package/dist/plugin-sdk/fetch-guard-DXe8oqEE.js +1 -0
  635. package/dist/plugin-sdk/fetch-guard-DY9jpsXo.cjs +1 -0
  636. package/dist/plugin-sdk/fetch-guard-DbOZYxyN.js +1 -0
  637. package/dist/plugin-sdk/fetch-guard-_fifU0fX.js +1 -0
  638. package/dist/plugin-sdk/fetch-lw-aF17e.cjs +1 -0
  639. package/dist/plugin-sdk/fetch-timeout-6oZsqWxA.js +1 -0
  640. package/dist/plugin-sdk/fetch-timeout-BygUD0rd.cjs +1 -0
  641. package/dist/plugin-sdk/fetch-timeout-CLw1U7VS.js +1 -0
  642. package/dist/plugin-sdk/fetch-timeout-CX1w-9p4.cjs +1 -0
  643. package/dist/plugin-sdk/fetch-timeout-Coc9xyC3.cjs +1 -0
  644. package/dist/plugin-sdk/fetch-timeout-Cz6GuU_c.js +1 -0
  645. package/dist/plugin-sdk/fetch-timeout-DC8T2JCr.js +1 -0
  646. package/dist/plugin-sdk/fetch-timeout-DFDmks9T.cjs +1 -0
  647. package/dist/plugin-sdk/fetch-timeout-DkYpp08Q.js +1 -0
  648. package/dist/plugin-sdk/github-copilot-token-BHdMLLqf.cjs +1 -0
  649. package/dist/plugin-sdk/github-copilot-token-Bt4PduRB.js +1 -0
  650. package/dist/plugin-sdk/github-copilot-token-C1O2cBqk.cjs +1 -0
  651. package/dist/plugin-sdk/github-copilot-token-C1hiDugd.js +1 -0
  652. package/dist/plugin-sdk/github-copilot-token-C8j8_NjX.js +1 -0
  653. package/dist/plugin-sdk/github-copilot-token-CCrgp2py.cjs +1 -0
  654. package/dist/plugin-sdk/github-copilot-token-DoHgkI2r.cjs +1 -0
  655. package/dist/plugin-sdk/github-copilot-token-N8vnLZPw.js +1 -0
  656. package/dist/plugin-sdk/github-copilot-token-TMkfxxD2.cjs +1 -0
  657. package/dist/plugin-sdk/github-copilot-token-vKAKX6iE.js +1 -0
  658. package/dist/plugin-sdk/github-copilot-token-ylX_gawo.js +1 -0
  659. package/dist/plugin-sdk/github-copilot-token-zskwAEpd.cjs +1 -0
  660. package/dist/plugin-sdk/google-gemini-cli-auth.cjs +1 -0
  661. package/dist/plugin-sdk/google-gemini-cli-auth.js +1 -0
  662. package/dist/plugin-sdk/googlechat.cjs +1 -0
  663. package/dist/plugin-sdk/googlechat.js +1 -0
  664. package/dist/plugin-sdk/image-B6HEHWlJ.js +1 -0
  665. package/dist/plugin-sdk/image-Bte8cr4F.js +1 -0
  666. package/dist/plugin-sdk/image-BxafJgQ6.cjs +1 -0
  667. package/dist/plugin-sdk/image-CDI5SqeR.js +1 -0
  668. package/dist/plugin-sdk/image-CTgwucug.cjs +1 -0
  669. package/dist/plugin-sdk/image-CWnsS03L.js +1 -0
  670. package/dist/plugin-sdk/image-CoksjGBL.cjs +1 -0
  671. package/dist/plugin-sdk/image-CuOIoxl2.cjs +1 -0
  672. package/dist/plugin-sdk/image-DJyEMzkq.cjs +1 -0
  673. package/dist/plugin-sdk/image-DegWnAZU.cjs +1 -0
  674. package/dist/plugin-sdk/image-TCSQZpr6.js +1 -0
  675. package/dist/plugin-sdk/image-aG-5S1vd.js +1 -0
  676. package/dist/plugin-sdk/imessage.cjs +1 -0
  677. package/dist/plugin-sdk/imessage.js +1 -0
  678. package/dist/plugin-sdk/index.cjs +1 -0
  679. package/dist/plugin-sdk/index.js +1 -0
  680. package/dist/plugin-sdk/ir-8rDh7div.js +1 -0
  681. package/dist/plugin-sdk/ir-Bh6lKGdS.js +1 -0
  682. package/dist/plugin-sdk/ir-C3VNqnc2.cjs +1 -0
  683. package/dist/plugin-sdk/ir-CZOtKajq.cjs +1 -0
  684. package/dist/plugin-sdk/ir-CveCWs8q.cjs +1 -0
  685. package/dist/plugin-sdk/ir-DAxY-7c1.cjs +1 -0
  686. package/dist/plugin-sdk/ir-DSuLr2UE.cjs +1 -0
  687. package/dist/plugin-sdk/ir-DanxCjD-.cjs +1 -0
  688. package/dist/plugin-sdk/ir-Dgc6qZMX.js +1 -0
  689. package/dist/plugin-sdk/ir-OBi5zaEW.js +1 -0
  690. package/dist/plugin-sdk/ir-hQ6EW92h.js +1 -0
  691. package/dist/plugin-sdk/ir-ynWQeZD9.js +1 -0
  692. package/dist/plugin-sdk/irc.cjs +1 -0
  693. package/dist/plugin-sdk/irc.js +1 -0
  694. package/dist/plugin-sdk/keyed-async-queue.cjs +1 -0
  695. package/dist/plugin-sdk/keyed-async-queue.js +1 -0
  696. package/dist/plugin-sdk/line.cjs +1 -0
  697. package/dist/plugin-sdk/line.js +1 -0
  698. package/dist/plugin-sdk/llm-task.cjs +1 -0
  699. package/dist/plugin-sdk/llm-task.js +1 -0
  700. package/dist/plugin-sdk/load-options-B9Ss5YOO.js +1 -0
  701. package/dist/plugin-sdk/load-options-BOfn6Zgo.cjs +1 -0
  702. package/dist/plugin-sdk/load-options-BXvm8HVv.js +1 -0
  703. package/dist/plugin-sdk/load-options-Bb7u8yZz.cjs +1 -0
  704. package/dist/plugin-sdk/load-options-BcSg1ODN.js +1 -0
  705. package/dist/plugin-sdk/load-options-NqnXJ-Nh.cjs +1 -0
  706. package/dist/plugin-sdk/lobster.cjs +1 -0
  707. package/dist/plugin-sdk/lobster.js +1 -0
  708. package/dist/plugin-sdk/local-roots-5udQUs81.js +1 -0
  709. package/dist/plugin-sdk/local-roots-BmhNPIJm.cjs +1 -0
  710. package/dist/plugin-sdk/local-roots-C5UoE741.cjs +1 -0
  711. package/dist/plugin-sdk/local-roots-Ca8KoAAp.js +1 -0
  712. package/dist/plugin-sdk/local-roots-CeAYfmPb.cjs +1 -0
  713. package/dist/plugin-sdk/local-roots-Cu7YCpql.cjs +1 -0
  714. package/dist/plugin-sdk/local-roots-D0yN794S.js +1 -0
  715. package/dist/plugin-sdk/local-roots-D4i3H0UG.cjs +1 -0
  716. package/dist/plugin-sdk/local-roots-DGe-SRNu.js +1 -0
  717. package/dist/plugin-sdk/local-roots-bWA2msT0.js +1 -0
  718. package/dist/plugin-sdk/local-roots-tee85Q-1.js +1 -0
  719. package/dist/plugin-sdk/local-roots-wTkpE7go.cjs +1 -0
  720. package/dist/plugin-sdk/logger-6O6OsYBL.cjs +1 -0
  721. package/dist/plugin-sdk/logger-BlddiV_d.cjs +1 -0
  722. package/dist/plugin-sdk/logger-Bm93ZKOk.cjs +1 -0
  723. package/dist/plugin-sdk/logger-BtrWb0dj.js +1 -0
  724. package/dist/plugin-sdk/logger-C210xuWx.js +1 -0
  725. package/dist/plugin-sdk/logger-DJGHvDbX.js +1 -0
  726. package/dist/plugin-sdk/logger-DPlqYkRm.cjs +1 -0
  727. package/dist/plugin-sdk/logger-DUYnS-W3.cjs +1 -0
  728. package/dist/plugin-sdk/logger-DwWqfo66.js +1 -0
  729. package/dist/plugin-sdk/logger-vBDTZWl3.js +1 -0
  730. package/dist/plugin-sdk/login-B5IwNcl4.cjs +1 -0
  731. package/dist/plugin-sdk/login-BIbt7ZL_.js +1 -0
  732. package/dist/plugin-sdk/login-CxnDKwXC.js +1 -0
  733. package/dist/plugin-sdk/login-D5iTWowo.cjs +1 -0
  734. package/dist/plugin-sdk/login-DHE1rzB1.js +1 -0
  735. package/dist/plugin-sdk/login-DIPBcPQc.cjs +1 -0
  736. package/dist/plugin-sdk/login-DtDOozuU.js +1 -0
  737. package/dist/plugin-sdk/login-UrWNtI80.cjs +1 -0
  738. package/dist/plugin-sdk/login-VviMkBU2.js +1 -0
  739. package/dist/plugin-sdk/login-jQwwt6C-.js +1 -0
  740. package/dist/plugin-sdk/login-mGjCzJzb.cjs +1 -0
  741. package/dist/plugin-sdk/login-pZnnpj38.cjs +1 -0
  742. package/dist/plugin-sdk/login-qr-BexuTIDJ.cjs +1 -0
  743. package/dist/plugin-sdk/login-qr-C366Qlh-.cjs +1 -0
  744. package/dist/plugin-sdk/login-qr-CQY4ty0o.js +1 -0
  745. package/dist/plugin-sdk/login-qr-CSabEb-n.cjs +1 -0
  746. package/dist/plugin-sdk/login-qr-CUgNKijx.js +1 -0
  747. package/dist/plugin-sdk/login-qr-C_LEw1Bi.js +1 -0
  748. package/dist/plugin-sdk/login-qr-CcPvldsG.js +1 -0
  749. package/dist/plugin-sdk/login-qr-CnNGKwDR.cjs +1 -0
  750. package/dist/plugin-sdk/login-qr-DQm50pXk.js +1 -0
  751. package/dist/plugin-sdk/login-qr-DayvAWkx.js +1 -0
  752. package/dist/plugin-sdk/login-qr-eodIsL9V.cjs +1 -0
  753. package/dist/plugin-sdk/login-qr-yIJE7MmY.cjs +1 -0
  754. package/dist/plugin-sdk/manager-932XljTT.js +1 -0
  755. package/dist/plugin-sdk/manager-CGHd5p2T.js +1 -0
  756. package/dist/plugin-sdk/manager-CbGA_JDa.js +1 -0
  757. package/dist/plugin-sdk/manager-CdD7HaGW.cjs +1 -0
  758. package/dist/plugin-sdk/manager-CmAH_a7A.cjs +1 -0
  759. package/dist/plugin-sdk/manager-DIS4ywpb.cjs +1 -0
  760. package/dist/plugin-sdk/manager-DQ2C-2IU.cjs +1 -0
  761. package/dist/plugin-sdk/manager-DdvFnsT7.cjs +1 -0
  762. package/dist/plugin-sdk/manager-DfdDglld.js +1 -0
  763. package/dist/plugin-sdk/manager-MR9stU_p.js +1 -0
  764. package/dist/plugin-sdk/manager-WwW37IUu.js +1 -0
  765. package/dist/plugin-sdk/manager-gE9187gu.cjs +1 -0
  766. package/dist/plugin-sdk/matrix.cjs +1 -0
  767. package/dist/plugin-sdk/matrix.js +1 -0
  768. package/dist/plugin-sdk/mattermost.cjs +1 -0
  769. package/dist/plugin-sdk/mattermost.js +1 -0
  770. package/dist/plugin-sdk/memory-core.cjs +1 -0
  771. package/dist/plugin-sdk/memory-core.js +1 -0
  772. package/dist/plugin-sdk/minimax-portal-auth.cjs +1 -0
  773. package/dist/plugin-sdk/minimax-portal-auth.js +1 -0
  774. package/dist/plugin-sdk/model-auth-BpS4IWDi.cjs +1 -0
  775. package/dist/plugin-sdk/model-auth-BwajGuoF.cjs +1 -0
  776. package/dist/plugin-sdk/model-auth-C1YL9HcW.js +1 -0
  777. package/dist/plugin-sdk/model-auth-Cc-8H6Cu.js +1 -0
  778. package/dist/plugin-sdk/model-auth-Cw3fuhm_.js +1 -0
  779. package/dist/plugin-sdk/model-auth-CycDtQl-.js +1 -0
  780. package/dist/plugin-sdk/model-auth-D-7xiXhK.cjs +1 -0
  781. package/dist/plugin-sdk/model-auth-TFUxaK0f.cjs +1 -0
  782. package/dist/plugin-sdk/model-selection-BADTZM9n.cjs +1 -0
  783. package/dist/plugin-sdk/model-selection-DUAudCtL.js +1 -0
  784. package/dist/plugin-sdk/msteams.cjs +1 -0
  785. package/dist/plugin-sdk/msteams.js +1 -0
  786. package/dist/plugin-sdk/nextcloud-talk.cjs +1 -0
  787. package/dist/plugin-sdk/nextcloud-talk.js +1 -0
  788. package/dist/plugin-sdk/nostr.cjs +1 -0
  789. package/dist/plugin-sdk/nostr.js +1 -0
  790. package/dist/plugin-sdk/outbound-2Lo6mZEY.js +1 -0
  791. package/dist/plugin-sdk/outbound-9XFlZzaF.cjs +1 -0
  792. package/dist/plugin-sdk/outbound-BlWsUmjQ.js +1 -0
  793. package/dist/plugin-sdk/outbound-Bs2rUcWZ.cjs +1 -0
  794. package/dist/plugin-sdk/outbound-C18nEOFP.js +1 -0
  795. package/dist/plugin-sdk/outbound-CW3o4Eng.cjs +1 -0
  796. package/dist/plugin-sdk/outbound-CzsdW5sy.js +1 -0
  797. package/dist/plugin-sdk/outbound-DcP22VOo.cjs +1 -0
  798. package/dist/plugin-sdk/outbound-QhOJAEO8.cjs +1 -0
  799. package/dist/plugin-sdk/outbound-attachment-1pf06Oiu.cjs +1 -0
  800. package/dist/plugin-sdk/outbound-attachment-B8-ZVX2i.cjs +1 -0
  801. package/dist/plugin-sdk/outbound-attachment-BDwI_tn0.cjs +1 -0
  802. package/dist/plugin-sdk/outbound-attachment-BXhbJils.js +1 -0
  803. package/dist/plugin-sdk/outbound-attachment-Bgf1pCh8.js +1 -0
  804. package/dist/plugin-sdk/outbound-attachment-COgf85S8.cjs +1 -0
  805. package/dist/plugin-sdk/outbound-attachment-CfN9OvMC.js +1 -0
  806. package/dist/plugin-sdk/outbound-attachment-CftilZWd.js +1 -0
  807. package/dist/plugin-sdk/outbound-attachment-Cujprd6T.cjs +1 -0
  808. package/dist/plugin-sdk/outbound-attachment-CvSHb9ci.js +1 -0
  809. package/dist/plugin-sdk/outbound-attachment-DQYtdTUw.js +1 -0
  810. package/dist/plugin-sdk/outbound-attachment-FqWC0WJx.cjs +1 -0
  811. package/dist/plugin-sdk/outbound-dTvIiFIZ.js +1 -0
  812. package/dist/plugin-sdk/outbound-fZ1WJGfe.cjs +1 -0
  813. package/dist/plugin-sdk/outbound-oHoWYWxf.js +1 -0
  814. package/dist/plugin-sdk/paths-BPlgbwrb.cjs +1 -0
  815. package/dist/plugin-sdk/paths-Bcdg3ma0.cjs +1 -0
  816. package/dist/plugin-sdk/paths-BpQOWYiT.js +1 -0
  817. package/dist/plugin-sdk/paths-BvlJvmRS.cjs +1 -0
  818. package/dist/plugin-sdk/paths-CIcxeNL-.cjs +1 -0
  819. package/dist/plugin-sdk/paths-CXgWvWAM.js +1 -0
  820. package/dist/plugin-sdk/paths-Chp3zwtq.cjs +1 -0
  821. package/dist/plugin-sdk/paths-CnHSNSeR.js +1 -0
  822. package/dist/plugin-sdk/paths-Cqca1YmF.cjs +1 -0
  823. package/dist/plugin-sdk/paths-CtrEseGU.js +1 -0
  824. package/dist/plugin-sdk/paths-D55o_j8-.js +1 -0
  825. package/dist/plugin-sdk/paths-D90l3h_o.cjs +1 -0
  826. package/dist/plugin-sdk/paths-DaRoqzBQ.js +1 -0
  827. package/dist/plugin-sdk/paths-Dd7r1qlB.cjs +1 -0
  828. package/dist/plugin-sdk/paths-DhSjTRMz.js +1 -0
  829. package/dist/plugin-sdk/paths-Do0djuaj.js +1 -0
  830. package/dist/plugin-sdk/paths-J4JUiRsa.js +1 -0
  831. package/dist/plugin-sdk/paths-cBAF6Bj0.js +1 -0
  832. package/dist/plugin-sdk/paths-piJASC5k.js +1 -0
  833. package/dist/plugin-sdk/paths-rO4ehkyU.js +1 -0
  834. package/dist/plugin-sdk/pi-model-discovery-B9boErNZ.cjs +1 -0
  835. package/dist/plugin-sdk/pi-model-discovery-BJ8wTgFH.cjs +1 -0
  836. package/dist/plugin-sdk/pi-model-discovery-Bb2vCP6M.js +1 -0
  837. package/dist/plugin-sdk/pi-model-discovery-Bor7jHYd.js +1 -0
  838. package/dist/plugin-sdk/pi-model-discovery-BrTw1qE2.cjs +1 -0
  839. package/dist/plugin-sdk/pi-model-discovery-BuEMyAsU.js +1 -0
  840. package/dist/plugin-sdk/pi-model-discovery-CV9NTjC4.js +1 -0
  841. package/dist/plugin-sdk/pi-model-discovery-D5tLf04u.js +1 -0
  842. package/dist/plugin-sdk/pi-model-discovery-D5xlUS2J.cjs +1 -0
  843. package/dist/plugin-sdk/pi-model-discovery-DGoPUzBj.cjs +1 -0
  844. package/dist/plugin-sdk/pi-model-discovery-DMrqvV1O.cjs +1 -0
  845. package/dist/plugin-sdk/pi-model-discovery-DoY7qnlI.cjs +1 -0
  846. package/dist/plugin-sdk/pi-model-discovery-Dqq9Vm8o.js +1 -0
  847. package/dist/plugin-sdk/pi-model-discovery-zCuISPPq.js +1 -0
  848. package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-4238P8NF.js +1 -0
  849. package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-BEoqzgFe.cjs +1 -0
  850. package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-BGPjibRD.js +1 -0
  851. package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-BJ_amISU.cjs +1 -0
  852. package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-BX2r_qPT.cjs +1 -0
  853. package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-CGLHFxSr.js +1 -0
  854. package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-CsNn_Lv8.js +1 -0
  855. package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-CsiKBTHg.cjs +1 -0
  856. package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-CuXQQk4F.cjs +1 -0
  857. package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-DNatrz-3.cjs +1 -0
  858. package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-PApjB0tY.js +1 -0
  859. package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-xsXDBYNq.js +1 -0
  860. package/dist/plugin-sdk/polls-BuaJuIpV.cjs +1 -0
  861. package/dist/plugin-sdk/polls-CBAGZuJ6.js +1 -0
  862. package/dist/plugin-sdk/polls-CSKMbBIS.js +1 -0
  863. package/dist/plugin-sdk/polls-D0wY0FvT.cjs +1 -0
  864. package/dist/plugin-sdk/polls-PGxiE05J.js +1 -0
  865. package/dist/plugin-sdk/polls-yWqSCEP0.cjs +1 -0
  866. package/dist/plugin-sdk/proxy-env-B765haXA.js +1 -0
  867. package/dist/plugin-sdk/proxy-env-Bcl14j2_.cjs +1 -0
  868. package/dist/plugin-sdk/proxy-env-BlrHtJWH.js +1 -0
  869. package/dist/plugin-sdk/proxy-env-D48qBPAr.cjs +1 -0
  870. package/dist/plugin-sdk/proxy-env-DGzNnnJh.js +1 -0
  871. package/dist/plugin-sdk/proxy-env-DQoJjkWE.cjs +1 -0
  872. package/dist/plugin-sdk/proxy-env-DWw9TnOj.cjs +1 -0
  873. package/dist/plugin-sdk/proxy-env-MEjSyzTr.js +1 -0
  874. package/dist/plugin-sdk/proxy-env-a590sPAz.cjs +1 -0
  875. package/dist/plugin-sdk/proxy-env-k93igu7v.cjs +1 -0
  876. package/dist/plugin-sdk/proxy-env-m9eG3uZN.js +1 -0
  877. package/dist/plugin-sdk/proxy-env-t6hcaFqC.js +1 -0
  878. package/dist/plugin-sdk/proxy-fetch-B9aXJVe-.js +1 -0
  879. package/dist/plugin-sdk/proxy-fetch-BaA3JYgW.cjs +1 -0
  880. package/dist/plugin-sdk/proxy-fetch-BwXFVsHE.cjs +1 -0
  881. package/dist/plugin-sdk/proxy-fetch-BzcKzknk.cjs +1 -0
  882. package/dist/plugin-sdk/proxy-fetch-CYVChsKE.js +1 -0
  883. package/dist/plugin-sdk/proxy-fetch-ClOb2LUH.js +1 -0
  884. package/dist/plugin-sdk/proxy-fetch-DH7VIiBH.cjs +1 -0
  885. package/dist/plugin-sdk/proxy-fetch-DPOhfrou.cjs +1 -0
  886. package/dist/plugin-sdk/proxy-fetch-DXt2R_Z5.js +1 -0
  887. package/dist/plugin-sdk/proxy-fetch-Del551nu.js +1 -0
  888. package/dist/plugin-sdk/proxy-fetch-YCVHz7Rl.js +1 -0
  889. package/dist/plugin-sdk/proxy-fetch-qbrYAz8k.cjs +1 -0
  890. package/dist/plugin-sdk/pw-ai-B0_rvdfF.js +1 -0
  891. package/dist/plugin-sdk/pw-ai-BqdrA15F.js +1 -0
  892. package/dist/plugin-sdk/pw-ai-CDzxu5B3.js +1 -0
  893. package/dist/plugin-sdk/pw-ai-CJIogpwF.cjs +1 -0
  894. package/dist/plugin-sdk/pw-ai-CL_gU5PJ.cjs +1 -0
  895. package/dist/plugin-sdk/pw-ai-Ca4aZTaG.cjs +1 -0
  896. package/dist/plugin-sdk/pw-ai-CrfYxLI8.cjs +1 -0
  897. package/dist/plugin-sdk/pw-ai-DCiFlwP8.js +1 -0
  898. package/dist/plugin-sdk/pw-ai-DSqXNmNZ.js +1 -0
  899. package/dist/plugin-sdk/pw-ai-Dh55xTz1.cjs +1 -0
  900. package/dist/plugin-sdk/pw-ai-DxAvipyK.cjs +1 -0
  901. package/dist/plugin-sdk/pw-ai-U9nPHH-0.js +1 -0
  902. package/dist/plugin-sdk/qmd-manager-B3xNbdye.cjs +1 -0
  903. package/dist/plugin-sdk/qmd-manager-BMyDNBPi.js +1 -0
  904. package/dist/plugin-sdk/qmd-manager-BZhiv_zq.cjs +1 -0
  905. package/dist/plugin-sdk/qmd-manager-C3uVDbhW.js +1 -0
  906. package/dist/plugin-sdk/qmd-manager-CW46NrS-.cjs +1 -0
  907. package/dist/plugin-sdk/qmd-manager-C_e04BNg.js +1 -0
  908. package/dist/plugin-sdk/qmd-manager-CczVoslK.cjs +1 -0
  909. package/dist/plugin-sdk/qmd-manager-CzLKqPmR.js +1 -0
  910. package/dist/plugin-sdk/qmd-manager-DFh8b5N-.cjs +1 -0
  911. package/dist/plugin-sdk/qmd-manager-DXLfZZMI.js +1 -0
  912. package/dist/plugin-sdk/qmd-manager-FL9fAfNo.cjs +1 -0
  913. package/dist/plugin-sdk/qmd-manager-fWxbGqzk.js +1 -0
  914. package/dist/plugin-sdk/query-expansion-0zYzKrrd.cjs +1 -0
  915. package/dist/plugin-sdk/query-expansion-BYSjmpkV.cjs +1 -0
  916. package/dist/plugin-sdk/query-expansion-CAboqtWr.js +1 -0
  917. package/dist/plugin-sdk/query-expansion-C_DnhmUy.js +1 -0
  918. package/dist/plugin-sdk/query-expansion-Cb2vnF6y.js +1 -0
  919. package/dist/plugin-sdk/query-expansion-DCeqywxh.cjs +1 -0
  920. package/dist/plugin-sdk/query-expansion-DF4LMxRQ.js +1 -0
  921. package/dist/plugin-sdk/query-expansion-DKJkqmNM.cjs +1 -0
  922. package/dist/plugin-sdk/query-expansion-DO2CFW4z.cjs +1 -0
  923. package/dist/plugin-sdk/query-expansion-DyCDaZbL.js +1 -0
  924. package/dist/plugin-sdk/query-expansion-cpXCyoDy.cjs +1 -0
  925. package/dist/plugin-sdk/query-expansion-r_iXkNzt.js +1 -0
  926. package/dist/plugin-sdk/qwen-portal-auth.cjs +1 -0
  927. package/dist/plugin-sdk/qwen-portal-auth.js +1 -0
  928. package/dist/plugin-sdk/render-6fCdtAr6.cjs +1 -0
  929. package/dist/plugin-sdk/render-CBsnn-2A.js +1 -0
  930. package/dist/plugin-sdk/render-CzHaQB0d.cjs +1 -0
  931. package/dist/plugin-sdk/render-DGmfCIRG.js +1 -0
  932. package/dist/plugin-sdk/render-DhTJXP1U.js +1 -0
  933. package/dist/plugin-sdk/render-Djx15dPh.js +1 -0
  934. package/dist/plugin-sdk/render-DxBO2Blp.cjs +1 -0
  935. package/dist/plugin-sdk/render-g5VlmgpF.cjs +1 -0
  936. package/dist/plugin-sdk/reply-0zCEbT4w.cjs +1 -0
  937. package/dist/plugin-sdk/reply-D-f2bbXy.js +1 -0
  938. package/dist/plugin-sdk/resolve-outbound-target-CrQGbaua.js +1 -0
  939. package/dist/plugin-sdk/resolve-outbound-target-H7Q9HcfW.js +1 -0
  940. package/dist/plugin-sdk/resolve-outbound-target-MS6Xpp17.cjs +1 -0
  941. package/dist/plugin-sdk/resolve-outbound-target-cDxjy3TL.cjs +1 -0
  942. package/dist/plugin-sdk/send-3VNTSIhr.js +1 -0
  943. package/dist/plugin-sdk/send-61GHLNYP.cjs +1 -0
  944. package/dist/plugin-sdk/send-6q4owAw0.js +1 -0
  945. package/dist/plugin-sdk/send-A2s5sPTd.js +1 -0
  946. package/dist/plugin-sdk/send-B2qa7CSk.js +1 -0
  947. package/dist/plugin-sdk/send-B3aEYvqG.cjs +1 -0
  948. package/dist/plugin-sdk/send-BAoqP09M.cjs +1 -0
  949. package/dist/plugin-sdk/send-BNBJ4CF8.js +1 -0
  950. package/dist/plugin-sdk/send-BTE2rI1E.js +1 -0
  951. package/dist/plugin-sdk/send-BlWuQHYB.js +1 -0
  952. package/dist/plugin-sdk/send-Bnvt7ZUE.cjs +1 -0
  953. package/dist/plugin-sdk/send-Bq6Mqs9G.cjs +1 -0
  954. package/dist/plugin-sdk/send-Bq787fi_.js +1 -0
  955. package/dist/plugin-sdk/send-BrAHLYBR.js +1 -0
  956. package/dist/plugin-sdk/send-Bt2eFBk2.js +1 -0
  957. package/dist/plugin-sdk/send-C4ZFbUux.js +1 -0
  958. package/dist/plugin-sdk/send-C4cyMW4S.cjs +1 -0
  959. package/dist/plugin-sdk/send-C8f5H4XV.cjs +1 -0
  960. package/dist/plugin-sdk/send-CDwTrbgT.cjs +1 -0
  961. package/dist/plugin-sdk/send-CEfs0Fsr.js +1 -0
  962. package/dist/plugin-sdk/send-CFuJjCNB.cjs +1 -0
  963. package/dist/plugin-sdk/send-CJGLeSJ8.cjs +1 -0
  964. package/dist/plugin-sdk/send-CL0W7jLW.js +1 -0
  965. package/dist/plugin-sdk/send-CLl490Gb.cjs +1 -0
  966. package/dist/plugin-sdk/send-CQtITZ7k.cjs +1 -0
  967. package/dist/plugin-sdk/send-CSGh_GVr.cjs +1 -0
  968. package/dist/plugin-sdk/send-CicLiXB4.js +1 -0
  969. package/dist/plugin-sdk/send-Cm7bEwx-.cjs +1 -0
  970. package/dist/plugin-sdk/send-CmO9z2-b.js +1 -0
  971. package/dist/plugin-sdk/send-Co_Wy2kT.cjs +1 -0
  972. package/dist/plugin-sdk/send-Cox_iyYB.cjs +1 -0
  973. package/dist/plugin-sdk/send-CuX4LcJ3.cjs +1 -0
  974. package/dist/plugin-sdk/send-CxMiTtxI.cjs +1 -0
  975. package/dist/plugin-sdk/send-CyyzWwDr.js +1 -0
  976. package/dist/plugin-sdk/send-D-HZnehy.cjs +1 -0
  977. package/dist/plugin-sdk/send-D-qD7BCb.js +1 -0
  978. package/dist/plugin-sdk/send-D3imkSlz.cjs +1 -0
  979. package/dist/plugin-sdk/send-D5UwpCoU.cjs +1 -0
  980. package/dist/plugin-sdk/send-D75OGJco.js +1 -0
  981. package/dist/plugin-sdk/send-DB4i1kUy.cjs +1 -0
  982. package/dist/plugin-sdk/send-DBjzdBda.cjs +1 -0
  983. package/dist/plugin-sdk/send-DPgRTM8s.js +1 -0
  984. package/dist/plugin-sdk/send-DPpBLiL4.js +1 -0
  985. package/dist/plugin-sdk/send-DV_afQnj.cjs +1 -0
  986. package/dist/plugin-sdk/send-DWuChr46.js +1 -0
  987. package/dist/plugin-sdk/send-DZ4szmEa.cjs +1 -0
  988. package/dist/plugin-sdk/send-DZr98eqE.cjs +1 -0
  989. package/dist/plugin-sdk/send-D_1K0zmx.cjs +1 -0
  990. package/dist/plugin-sdk/send-DaLB9Lca.js +1 -0
  991. package/dist/plugin-sdk/send-De4qiprb.js +1 -0
  992. package/dist/plugin-sdk/send-DeU-T5ps.js +1 -0
  993. package/dist/plugin-sdk/send-DtjJM0LO.js +1 -0
  994. package/dist/plugin-sdk/send-DvDCmTQf.js +1 -0
  995. package/dist/plugin-sdk/send-EvcsiFBC.cjs +1 -0
  996. package/dist/plugin-sdk/send-GuISe9C82.js +1 -0
  997. package/dist/plugin-sdk/send-IoGcE0w2.js +1 -0
  998. package/dist/plugin-sdk/send-JVdUTsN1.cjs +1 -0
  999. package/dist/plugin-sdk/send-NpNVFRmY.js +1 -0
  1000. package/dist/plugin-sdk/send-XMOZsJcs.js +1 -0
  1001. package/dist/plugin-sdk/send-h--iKoQE.cjs +1 -0
  1002. package/dist/plugin-sdk/session-8BcB905y.cjs +1 -0
  1003. package/dist/plugin-sdk/session-B2oURX5K.js +1 -0
  1004. package/dist/plugin-sdk/session-BJhNqIOi.js +1 -0
  1005. package/dist/plugin-sdk/session-BRgGsw96.cjs +1 -0
  1006. package/dist/plugin-sdk/session-Be_7rXAz.js +1 -0
  1007. package/dist/plugin-sdk/session-C66IXbE-.js +1 -0
  1008. package/dist/plugin-sdk/session-CCYDbcyV.js +1 -0
  1009. package/dist/plugin-sdk/session-CHu3C2m0.cjs +1 -0
  1010. package/dist/plugin-sdk/session-DUlmK2IL.cjs +1 -0
  1011. package/dist/plugin-sdk/session-DxTRZTnu.js +1 -0
  1012. package/dist/plugin-sdk/session-DzhI0nj-.cjs +1 -0
  1013. package/dist/plugin-sdk/session-WRCBgAzG.cjs +1 -0
  1014. package/dist/plugin-sdk/sessions-DxXXAfdI.js +1 -0
  1015. package/dist/plugin-sdk/sessions-Dz5JUL8j.cjs +1 -0
  1016. package/dist/plugin-sdk/signal.cjs +1 -0
  1017. package/dist/plugin-sdk/signal.js +1 -0
  1018. package/dist/plugin-sdk/skill-commands-B4wI8ETo.cjs +1 -0
  1019. package/dist/plugin-sdk/skill-commands-BoTeA376.cjs +1 -0
  1020. package/dist/plugin-sdk/skill-commands-BwrYJu7Z.js +1 -0
  1021. package/dist/plugin-sdk/skill-commands-BzkMuA58.cjs +1 -0
  1022. package/dist/plugin-sdk/skill-commands-CIAf9cWN.cjs +1 -0
  1023. package/dist/plugin-sdk/skill-commands-CKc7JO_c.cjs +1 -0
  1024. package/dist/plugin-sdk/skill-commands-Cvb6oXym.js +1 -0
  1025. package/dist/plugin-sdk/skill-commands-DWDtyCtB.js +1 -0
  1026. package/dist/plugin-sdk/skill-commands-Hmuw0PPK.js +1 -0
  1027. package/dist/plugin-sdk/skill-commands-KyN0FGaC.cjs +1 -0
  1028. package/dist/plugin-sdk/skill-commands-KzwEqk5p.js +1 -0
  1029. package/dist/plugin-sdk/skill-commands-Ny38ZFIC.js +1 -0
  1030. package/dist/plugin-sdk/slack.cjs +1 -0
  1031. package/dist/plugin-sdk/slack.js +1 -0
  1032. package/dist/plugin-sdk/synology-chat.cjs +1 -0
  1033. package/dist/plugin-sdk/synology-chat.js +1 -0
  1034. package/dist/plugin-sdk/tables-BIDWwpX8.js +1 -0
  1035. package/dist/plugin-sdk/tables-Bk8lHaPx.cjs +1 -0
  1036. package/dist/plugin-sdk/tables-BlNIkMV8.js +1 -0
  1037. package/dist/plugin-sdk/tables-Bp0a2WRP.cjs +1 -0
  1038. package/dist/plugin-sdk/tables-BtVUf77b.cjs +1 -0
  1039. package/dist/plugin-sdk/tables-C4j5Bar_.js +1 -0
  1040. package/dist/plugin-sdk/tables-CZGtYzDC.cjs +1 -0
  1041. package/dist/plugin-sdk/tables-CnrHab5d.cjs +1 -0
  1042. package/dist/plugin-sdk/tables-DtslIPYw.js +1 -0
  1043. package/dist/plugin-sdk/tables-NrdtIJGp.cjs +1 -0
  1044. package/dist/plugin-sdk/tables-XYb3T-vE.js +1 -0
  1045. package/dist/plugin-sdk/tables-lbv-0tl3.js +1 -0
  1046. package/dist/plugin-sdk/target-errors-9cdJA1L2.cjs +1 -0
  1047. package/dist/plugin-sdk/target-errors-BEkhKWCq.cjs +1 -0
  1048. package/dist/plugin-sdk/target-errors-BZRN-lPd.js +1 -0
  1049. package/dist/plugin-sdk/target-errors-BrwqillR.cjs +1 -0
  1050. package/dist/plugin-sdk/target-errors-Buo5pfom.js +1 -0
  1051. package/dist/plugin-sdk/target-errors-CFzzcffg.js +1 -0
  1052. package/dist/plugin-sdk/target-errors-DFmK5loi.js +1 -0
  1053. package/dist/plugin-sdk/target-errors-DXqwykNX.js +1 -0
  1054. package/dist/plugin-sdk/target-errors-Dd6CopYF.cjs +1 -0
  1055. package/dist/plugin-sdk/target-errors-DeNJ10ks.cjs +1 -0
  1056. package/dist/plugin-sdk/targets-BSc11Uk8.cjs +1 -0
  1057. package/dist/plugin-sdk/targets-BSkiizml.js +1 -0
  1058. package/dist/plugin-sdk/targets-CBI0xqve.cjs +1 -0
  1059. package/dist/plugin-sdk/targets-CL5fYQi7.js +1 -0
  1060. package/dist/plugin-sdk/targets-CUZWrFrm.cjs +1 -0
  1061. package/dist/plugin-sdk/targets-CVEYTFPQ.js +1 -0
  1062. package/dist/plugin-sdk/targets-Co2R6K14.cjs +1 -0
  1063. package/dist/plugin-sdk/targets-CrkJkzil.js +1 -0
  1064. package/dist/plugin-sdk/targets-D-m7SV9x.cjs +1 -0
  1065. package/dist/plugin-sdk/targets-D8HTxbo4.js +1 -0
  1066. package/dist/plugin-sdk/targets-DcGNB9nk.cjs +1 -0
  1067. package/dist/plugin-sdk/targets-Dn9gDiEw.js +1 -0
  1068. package/dist/plugin-sdk/targets-X28mff4s.cjs +1 -0
  1069. package/dist/plugin-sdk/targets-uycXZ8vQ.js +1 -0
  1070. package/dist/plugin-sdk/telegram.cjs +1 -0
  1071. package/dist/plugin-sdk/telegram.js +1 -0
  1072. package/dist/plugin-sdk/test-utils.cjs +1 -0
  1073. package/dist/plugin-sdk/test-utils.js +1 -0
  1074. package/dist/plugin-sdk/tlon.cjs +1 -0
  1075. package/dist/plugin-sdk/tlon.js +1 -0
  1076. package/dist/plugin-sdk/tokens-AAdZjj0M.js +1 -0
  1077. package/dist/plugin-sdk/tokens-B20KNIDD.js +1 -0
  1078. package/dist/plugin-sdk/tokens-B8ys7Q2e.js +1 -0
  1079. package/dist/plugin-sdk/tokens-BPc1fcZ3.js +1 -0
  1080. package/dist/plugin-sdk/tokens-BqABmXSe.js +1 -0
  1081. package/dist/plugin-sdk/tokens-CXsPDJTr.cjs +1 -0
  1082. package/dist/plugin-sdk/tokens-CnB4dJmp.cjs +1 -0
  1083. package/dist/plugin-sdk/tokens-CytSl1X8.cjs +1 -0
  1084. package/dist/plugin-sdk/tokens-DgPZk2Uu.js +1 -0
  1085. package/dist/plugin-sdk/tokens-Dq2wDF3_.cjs +1 -0
  1086. package/dist/plugin-sdk/tokens-DtrljGtQ.cjs +1 -0
  1087. package/dist/plugin-sdk/tokens-g5KWvWhD.cjs +1 -0
  1088. package/dist/plugin-sdk/twitch.cjs +1 -0
  1089. package/dist/plugin-sdk/twitch.js +1 -0
  1090. package/dist/plugin-sdk/utils-BJtJR72k.js +1 -0
  1091. package/dist/plugin-sdk/utils-PPIvU9qw.cjs +1 -0
  1092. package/dist/plugin-sdk/voice-call.cjs +1 -0
  1093. package/dist/plugin-sdk/voice-call.js +1 -0
  1094. package/dist/plugin-sdk/web-B-QDcVRv.cjs +1 -0
  1095. package/dist/plugin-sdk/web-B2PwjHsu.cjs +1 -0
  1096. package/dist/plugin-sdk/web-BdnQzLgF.js +1 -0
  1097. package/dist/plugin-sdk/web-C9T7tf6w.js +1 -0
  1098. package/dist/plugin-sdk/web-CODD4ksc.cjs +1 -0
  1099. package/dist/plugin-sdk/web-CkdCvvR-.js +1 -0
  1100. package/dist/plugin-sdk/web-_tj8xNZE.js +1 -0
  1101. package/dist/plugin-sdk/web-pcTha_l7.cjs +1 -0
  1102. package/dist/plugin-sdk/weixin.cjs +1 -0
  1103. package/dist/plugin-sdk/weixin.js +1 -0
  1104. package/dist/plugin-sdk/whatsapp-actions-Bhz2j1uz.cjs +1 -0
  1105. package/dist/plugin-sdk/whatsapp-actions-Bm2UyRYg.cjs +1 -0
  1106. package/dist/plugin-sdk/whatsapp-actions-Bolz0jl5.js +1 -0
  1107. package/dist/plugin-sdk/whatsapp-actions-CJ3LDpaG.js +1 -0
  1108. package/dist/plugin-sdk/whatsapp-actions-CL1Gmkb0.js +1 -0
  1109. package/dist/plugin-sdk/whatsapp-actions-D-bZRT7s.js +1 -0
  1110. package/dist/plugin-sdk/whatsapp-actions-DSGTTE8M.cjs +1 -0
  1111. package/dist/plugin-sdk/whatsapp-actions-DjQxgMpW.cjs +1 -0
  1112. package/dist/plugin-sdk/whatsapp-actions-DrPBBi5t.cjs +1 -0
  1113. package/dist/plugin-sdk/whatsapp-actions-DtK657CZ.cjs +1 -0
  1114. package/dist/plugin-sdk/whatsapp-actions-Xwev51_N.js +1 -0
  1115. package/dist/plugin-sdk/whatsapp-actions-m7vLtNAA.js +1 -0
  1116. package/dist/plugin-sdk/whatsapp.cjs +1 -0
  1117. package/dist/plugin-sdk/whatsapp.js +1 -0
  1118. package/dist/plugin-sdk/zalo.cjs +1 -0
  1119. package/dist/plugin-sdk/zalo.js +1 -0
  1120. package/dist/plugin-sdk/zalouser.cjs +1 -0
  1121. package/dist/plugin-sdk/zalouser.js +1 -0
  1122. package/dist/plugins-CYLrFT4h.js +1 -0
  1123. package/dist/plugins-DNlgeTTc.js +1 -0
  1124. package/dist/plugins-cli-BbjMbzJU.js +1 -0
  1125. package/dist/plugins-cli-BiVMAr5T.js +1 -0
  1126. package/dist/polls-BIVz6a4F.js +1 -0
  1127. package/dist/polls-Bh5wc9-6.js +1 -0
  1128. package/dist/polls-C_XSFz3d.js +1 -0
  1129. package/dist/polls-DKJOFSzJ.js +1 -0
  1130. package/dist/ports-B0XdGTfS.js +1 -0
  1131. package/dist/ports-BR0PLRtq.js +1 -0
  1132. package/dist/probe-auth-BMA0yM94.js +1 -0
  1133. package/dist/probe-auth-VI96zmTK.js +1 -0
  1134. package/dist/profile-utils-CWmra1aY.js +1 -0
  1135. package/dist/program-BrAZTwFr.js +1 -0
  1136. package/dist/program-context-B9ydtPje.js +1 -0
  1137. package/dist/program-context-CH9p6anW.js +1 -0
  1138. package/dist/progress-LNttnI-y.js +1 -0
  1139. package/dist/progress-d1m2sqR1.js +1 -0
  1140. package/dist/prompt-select-styled-BeJNbzSa.js +1 -0
  1141. package/dist/prompt-select-styled-DIOWLjl0.js +1 -0
  1142. package/dist/prompt-style-BThRSQJR.js +1 -0
  1143. package/dist/prompt-style-CXKekIBY.js +1 -0
  1144. package/dist/prompts-CMzglboN.js +1 -0
  1145. package/dist/prompts-wv-lfVrJ.js +1 -0
  1146. package/dist/provider-auth-helpers-1lU43eTW.js +1 -0
  1147. package/dist/provider-auth-helpers-pBVCjBj9.js +1 -0
  1148. package/dist/provider-env-vars-D8p6Ohpj.js +1 -0
  1149. package/dist/provider-env-vars-Dt0Q29Su.js +1 -0
  1150. package/dist/proxy-env-BNhTHkd_.js +1 -0
  1151. package/dist/proxy-env-DcmW_urA.js +1 -0
  1152. package/dist/proxy-env-DrC3TIGh.js +1 -0
  1153. package/dist/proxy-env-FJr5nlvs.js +1 -0
  1154. package/dist/proxy-fetch-BADsUK4d.js +1 -0
  1155. package/dist/proxy-fetch-BZ9O8Dvj.js +1 -0
  1156. package/dist/proxy-fetch-DnjU1fEB.js +1 -0
  1157. package/dist/proxy-fetch-gWETR3cl.js +1 -0
  1158. package/dist/push-apns-BGUOmD5M.js +1 -0
  1159. package/dist/push-apns-B_a2MBJ4.js +1 -0
  1160. package/dist/pw-ai-C-Ffkwai.js +1 -0
  1161. package/dist/pw-ai-CV1H1Vrs.js +1 -0
  1162. package/dist/pw-ai-D_MB1lrR.js +1 -0
  1163. package/dist/pw-ai-_l9lVice.js +1 -0
  1164. package/dist/qmd-manager-C_e04BNg.js +1 -0
  1165. package/dist/qmd-manager-DSQ_mDCl.js +1 -0
  1166. package/dist/qmd-manager-DcBYbt_V.js +1 -0
  1167. package/dist/qmd-manager-NLI0R6kp.js +1 -0
  1168. package/dist/qr-cli-3aG6CB6K.js +1 -0
  1169. package/dist/qr-cli-fiJxD5M4.js +1 -0
  1170. package/dist/query-expansion-0OxEb1Io.js +1 -0
  1171. package/dist/query-expansion-BUUx_oWg.js +1 -0
  1172. package/dist/query-expansion-r_iXkNzt.js +1 -0
  1173. package/dist/reaction-level-DVPHL14p.js +1 -0
  1174. package/dist/reaction-message-id-BEEe7X3D.js +1 -0
  1175. package/dist/read-only-account-inspect-DBwAwB3_.js +1 -0
  1176. package/dist/redact-3_CiXMY6.js +1 -0
  1177. package/dist/redact-CnRxK70G.js +1 -0
  1178. package/dist/register.agent-CX78s_X9.js +1 -0
  1179. package/dist/register.agent-DLDKQENq.js +1 -0
  1180. package/dist/register.backup-DkFoTcuT.js +1 -0
  1181. package/dist/register.backup-PzF5rmeU.js +1 -0
  1182. package/dist/register.configure-BA5u9hT3.js +1 -0
  1183. package/dist/register.configure-BhPtf3Qo.js +1 -0
  1184. package/dist/register.maintenance-BhsBepKS.js +1 -0
  1185. package/dist/register.maintenance-r_MzNK3-.js +1 -0
  1186. package/dist/register.message-CTF--Z2a.js +1 -0
  1187. package/dist/register.message-jcZ875be.js +1 -0
  1188. package/dist/register.onboard-C3yL50_c.js +1 -0
  1189. package/dist/register.onboard-CNwnStUk.js +1 -0
  1190. package/dist/register.setup-BRJMzgfU.js +1 -0
  1191. package/dist/register.setup-BvsS-zgm.js +1 -0
  1192. package/dist/register.status-health-sessions-DVc__2pc.js +1 -0
  1193. package/dist/register.status-health-sessions-Dqmkw820.js +1 -0
  1194. package/dist/register.subclis-D-24j83X.js +1 -0
  1195. package/dist/registry-BptzrW8D.js +1 -0
  1196. package/dist/registry-hFAtCSWG.js +1 -0
  1197. package/dist/render-BXEUPIHe.js +1 -0
  1198. package/dist/render-CBsnn-2A.js +1 -0
  1199. package/dist/render-D8OWO2hT.js +1 -0
  1200. package/dist/render-DrrPmnMI.js +1 -0
  1201. package/dist/reply-l-Y47HP4.js +1 -0
  1202. package/dist/restart-CHXEHdSC.js +1 -0
  1203. package/dist/rpc-B3ReBNXG.js +1 -0
  1204. package/dist/rpc-DumDLalJ.js +1 -0
  1205. package/dist/run-main-B_YBE_TN.js +1 -0
  1206. package/dist/runtime-BC5Ep2pJ.js +1 -0
  1207. package/dist/runtime-Dlg2-Omq.js +1 -0
  1208. package/dist/runtime-guard-DFYBaYZS.js +1 -0
  1209. package/dist/runtime-guard-DX2Ie4ri.js +1 -0
  1210. package/dist/runtime-status-CqFBmdRd.js +1 -0
  1211. package/dist/runtime-status-DszMjvJK.js +1 -0
  1212. package/dist/runtime-web-tools-D8fms06-.js +1 -0
  1213. package/dist/runtime-web-tools-bz76ZaRc.js +1 -0
  1214. package/dist/sandbox-cli-BDorUBm-.js +1 -0
  1215. package/dist/sandbox-cli-Bq40R5Vs.js +1 -0
  1216. package/dist/scan-paths-C13EseXp.js +1 -0
  1217. package/dist/scan-paths-CWtvWW40.js +1 -0
  1218. package/dist/search-manager-Bp9x20r6.js +1 -0
  1219. package/dist/secret-file-C7JffiM_.js +1 -0
  1220. package/dist/secret-file-D60EFEOe.js +1 -0
  1221. package/dist/secret-file-DuWm26jS.js +1 -0
  1222. package/dist/secrets-cli-Bo6PC32U.js +1 -0
  1223. package/dist/secrets-cli-CoXJv3Jp.js +1 -0
  1224. package/dist/secure-random-D7JQgiK-.js +1 -0
  1225. package/dist/security-cli-CgZL2KKh.js +1 -0
  1226. package/dist/security-cli-DVOfhwAP.js +1 -0
  1227. package/dist/send-B7sHR38c2.js +1 -0
  1228. package/dist/send-Bx2Qr7VH.js +1 -0
  1229. package/dist/send-C-AP01PR.js +1 -0
  1230. package/dist/send-C1CJ-GHU.js +1 -0
  1231. package/dist/send-C48Y9SAq.js +1 -0
  1232. package/dist/send-CVplsJpw.js +1 -0
  1233. package/dist/send-CW81y5Wz.js +1 -0
  1234. package/dist/send-CYgHok1p.js +1 -0
  1235. package/dist/send-Cgd_VJHR.js +1 -0
  1236. package/dist/send-Chz0YMoJ.js +1 -0
  1237. package/dist/send-D9hVVn7p2.js +1 -0
  1238. package/dist/send-DKrzj_Ts.js +1 -0
  1239. package/dist/send-DRLSCwCk.js +1 -0
  1240. package/dist/send-DavpkzhH.js +1 -0
  1241. package/dist/send-DbeEC2a3.js +1 -0
  1242. package/dist/send-DkiKKUkt.js +1 -0
  1243. package/dist/send-DlfVd5mL.js +1 -0
  1244. package/dist/send-JYgM9Sm-2.js +1 -0
  1245. package/dist/send-hZFDcGLM.js +1 -0
  1246. package/dist/send-vthbs31u.js +1 -0
  1247. package/dist/server-DpyBukwA.js +1 -0
  1248. package/dist/server-IgiSKzXH.js +1 -0
  1249. package/dist/server-node-events-CFSY_-4t.js +1 -0
  1250. package/dist/server-node-events-ZFwmPwQ-.js +1 -0
  1251. package/dist/service-BtB9epJk.js +1 -0
  1252. package/dist/service-DZ9EbS15.js +1 -0
  1253. package/dist/session-C9TDmUS7.js +1 -0
  1254. package/dist/session-CUUGjiV3.js +1 -0
  1255. package/dist/session-DA-i5xQ-.js +1 -0
  1256. package/dist/session-bk3gFwO4.js +1 -0
  1257. package/dist/session-cost-usage-BgqKixv0.js +1 -0
  1258. package/dist/session-cost-usage-CHtVgnE8.js +1 -0
  1259. package/dist/session-key-C7F_iqYg.js +1 -0
  1260. package/dist/session-key-D3P0tf5P.js +1 -0
  1261. package/dist/session-utils-8acNlxwP.js +1 -0
  1262. package/dist/sessions-BsxT0V2m.js +1 -0
  1263. package/dist/shared-9x5sqYRb.js +1 -0
  1264. package/dist/shared-BKWhOp64.js +1 -0
  1265. package/dist/shared-GesXrZzd.js +1 -0
  1266. package/dist/skill-commands-BWW6mc6t.js +1 -0
  1267. package/dist/skill-commands-CSF6wVPU.js +1 -0
  1268. package/dist/skill-commands-Db232ZRp.js +1 -0
  1269. package/dist/skill-commands-HJHHZqt6.js +1 -0
  1270. package/dist/skill-scanner-CUUF3Fvo.js +1 -0
  1271. package/dist/skill-scanner-CkxXNioD.js +1 -0
  1272. package/dist/skills-CKTicUKS.js +1 -0
  1273. package/dist/skills-DHbOKEGc.js +1 -0
  1274. package/dist/skills-cli-9Ls94z5H.js +1 -0
  1275. package/dist/skills-cli-BY7OhJzj.js +1 -0
  1276. package/dist/skills-install-CIdGCXSy.js +1 -0
  1277. package/dist/skills-install-DIdiVt9Y.js +1 -0
  1278. package/dist/skills-status-BWIugRCz.js +1 -0
  1279. package/dist/skills-status-DswSl5aD.js +1 -0
  1280. package/dist/sqlite-CILF3z9U.js +1 -0
  1281. package/dist/stagger-DmFYysrJ.js +1 -0
  1282. package/dist/stagger-DxzgG2jd.js +1 -0
  1283. package/dist/status-C-9fSiMn.js +1 -0
  1284. package/dist/status-CeBGmSAz.js +1 -0
  1285. package/dist/status-DYqPF0rB.js +1 -0
  1286. package/dist/status-JIPeVrsc.js +1 -0
  1287. package/dist/status.update-B_8Gumuc.js +1 -0
  1288. package/dist/status.update-DoSzHu2F.js +1 -0
  1289. package/dist/string-normalization-BrUPaXaM.js +1 -0
  1290. package/dist/string-normalization-DJT5zuUF.js +1 -0
  1291. package/dist/subsystem-BLbY429l.js +1 -0
  1292. package/dist/subsystem-Bc2XrjUz.js +1 -0
  1293. package/dist/subsystem-C5XF2Fy5.js +1 -0
  1294. package/dist/system-cli-CeZfoVPN.js +1 -0
  1295. package/dist/system-cli-DZkTYB9d.js +1 -0
  1296. package/dist/system-run-command-BKfMiqQM.js +1 -0
  1297. package/dist/system-run-command-DEWnZE0r.js +1 -0
  1298. package/dist/systemd-D7odsu4K.js +1 -0
  1299. package/dist/systemd-DbevZh65.js +1 -0
  1300. package/dist/systemd-hints-C0DKDl35.js +1 -0
  1301. package/dist/systemd-hints-lXpMy-kY.js +1 -0
  1302. package/dist/systemd-linger-C2MJD6KG.js +1 -0
  1303. package/dist/systemd-linger-cWKbFNpu.js +1 -0
  1304. package/dist/table-CR7TFMew.js +1 -0
  1305. package/dist/table-CY440fI1.js +1 -0
  1306. package/dist/tables-Brc2lNcB.js +1 -0
  1307. package/dist/tables-CrXdLc_6.js +1 -0
  1308. package/dist/tables-Oieq7UbT.js +1 -0
  1309. package/dist/tables-btcG3yFT.js +1 -0
  1310. package/dist/target-errors-CRlevJJ5.js +1 -0
  1311. package/dist/target-errors-CgWAJOam.js +1 -0
  1312. package/dist/target-errors-CpKXh2RS.js +1 -0
  1313. package/dist/target-errors-a35Md15n.js +1 -0
  1314. package/dist/targets-4EaxWBal.js +1 -0
  1315. package/dist/targets-BJTo7bqu.js +1 -0
  1316. package/dist/targets-BYVMrXDf.js +1 -0
  1317. package/dist/targets-Bq6rS6-Z.js +1 -0
  1318. package/dist/targets-CL5fYQi7.js +1 -0
  1319. package/dist/targets-fozeWOOg.js +1 -0
  1320. package/dist/targets-m_41k_Mv.js +1 -0
  1321. package/dist/telegram/audit.js +1 -0
  1322. package/dist/text-format-CvrvBBre.js +1 -0
  1323. package/dist/text-format-DEWK6oCT.js +1 -0
  1324. package/dist/token-DnTmiyJu.js +1 -0
  1325. package/dist/tokens-B2fq-rL6.js +1 -0
  1326. package/dist/tokens-CL2fSjGl.js +1 -0
  1327. package/dist/tokens-DRM8vzJx.js +1 -0
  1328. package/dist/tokens-XGbQGn67.js +1 -0
  1329. package/dist/tool-display-DJDtttQg.js +1 -0
  1330. package/dist/tool-display-DjuSUUbH.js +1 -0
  1331. package/dist/tui-B506apla.js +1 -0
  1332. package/dist/tui-CJUkUxHb.js +1 -0
  1333. package/dist/tui-cli-BEdGHmhc.js +1 -0
  1334. package/dist/tui-cli-Cq_eXDAV.js +1 -0
  1335. package/dist/types.secrets-C-5U96pc.js +1 -0
  1336. package/dist/types.secrets-D4tbc3Wq.js +1 -0
  1337. package/dist/update-BGrxUIyz.js +1 -0
  1338. package/dist/update-CwTy5DPl.js +1 -0
  1339. package/dist/update-cli-BwBMOeP0.js +1 -0
  1340. package/dist/update-cli-YrBbmw4f.js +1 -0
  1341. package/dist/update-runner-BvtyRBD2.js +1 -0
  1342. package/dist/update-runner-DYamgo1V.js +1 -0
  1343. package/dist/usage-format-BWD8FJFL.js +1 -0
  1344. package/dist/usage-format-yPwal8Iz.js +1 -0
  1345. package/dist/utils-CGdo13HV.js +1 -0
  1346. package/dist/utils-D3t-vPka.js +1 -0
  1347. package/dist/utils-R-mFyVJi.js +1 -0
  1348. package/dist/utils-UGOV_184.js +1 -0
  1349. package/dist/version-q3SkUw2K.js +1 -0
  1350. package/dist/warning-filter.js +1 -0
  1351. package/dist/web-Cq3xWCaD.js +1 -0
  1352. package/dist/web-DwcxsgH0.js +1 -0
  1353. package/dist/webhooks-cli-CIeyainW.js +1 -0
  1354. package/dist/webhooks-cli-DSNAve_D.js +1 -0
  1355. package/dist/whatsapp-actions-B6gt1KeB.js +1 -0
  1356. package/dist/whatsapp-actions-DACoH7qd.js +1 -0
  1357. package/dist/whatsapp-actions-iQhIeMya.js +1 -0
  1358. package/dist/whatsapp-actions-tmjID75a.js +1 -0
  1359. package/dist/widearea-dns-BDx7vkV2.js +1 -0
  1360. package/dist/widearea-dns-BFjqKXu_.js +1 -0
  1361. package/dist/windows-spawn-7oINn5ao.js +1 -0
  1362. package/dist/windows-spawn-AB7ItGAE.js +1 -0
  1363. package/dist/with-timeout-WveKxvFV.js +1 -0
  1364. package/dist/with-timeout-c1CzdShT.js +1 -0
  1365. package/dist/workspace-B0ZQeHXg.js +1 -0
  1366. package/dist/workspace-C45T1Cxg.js +1 -0
  1367. package/dist/workspace-dirs-A8Vib9_B.js +1 -0
  1368. package/dist/workspace-dirs-BhF1Dzxt.js +1 -0
  1369. package/dist/workspace-xNEpaJvu.js +1 -0
  1370. package/dist/wsl-DHxB2Ew_.js +1 -0
  1371. package/dist/wsl-Ok7GaSJ6.js +1 -0
  1372. package/node_modules/@aws-sdk/client-bedrock-runtime/package.json +2 -2
  1373. package/node_modules/@aws-sdk/token-providers/package.json +1 -1
  1374. package/node_modules/@grammyjs/types/package.json +1 -1
  1375. package/node_modules/@line/bot-sdk/dist/channel-access-token/api/channelAccessTokenClient.js +49 -3
  1376. package/node_modules/@line/bot-sdk/dist/cjs/channel-access-token/api/channelAccessTokenClient.js +49 -3
  1377. package/node_modules/@line/bot-sdk/dist/cjs/client.js +636 -0
  1378. package/node_modules/@line/bot-sdk/dist/cjs/endpoints.js +7 -0
  1379. package/node_modules/@line/bot-sdk/dist/cjs/exceptions.js +15 -1
  1380. package/node_modules/@line/bot-sdk/dist/cjs/http-axios.js +2 -6
  1381. package/node_modules/@line/bot-sdk/dist/cjs/http-fetch.js +5 -13
  1382. package/node_modules/@line/bot-sdk/dist/cjs/index.js +3 -1
  1383. package/node_modules/@line/bot-sdk/dist/cjs/insight/api/insightClient.js +3 -0
  1384. package/node_modules/@line/bot-sdk/dist/cjs/liff/api/liffClient.js +3 -0
  1385. package/node_modules/@line/bot-sdk/dist/cjs/line-bot-client.factory.generated.js +66 -0
  1386. package/node_modules/@line/bot-sdk/dist/cjs/line-bot-client.generated.js +1999 -0
  1387. package/node_modules/@line/bot-sdk/dist/cjs/line-bot-client.js +61 -0
  1388. package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/api/manageAudienceBlobClient.js +3 -0
  1389. package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/api/manageAudienceClient.js +3 -0
  1390. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/api/messagingApiBlobClient.js +3 -0
  1391. package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/api/messagingApiClient.js +3 -0
  1392. package/node_modules/@line/bot-sdk/dist/cjs/module/api/lineModuleClient.js +3 -0
  1393. package/node_modules/@line/bot-sdk/dist/cjs/module-attach/api/lineModuleAttachClient.js +3 -0
  1394. package/node_modules/@line/bot-sdk/dist/cjs/shop/api/shopClient.js +3 -0
  1395. package/node_modules/@line/bot-sdk/dist/cjs/utils.js +10 -0
  1396. package/node_modules/@line/bot-sdk/dist/cjs/version.js +1 -1
  1397. package/node_modules/@line/bot-sdk/dist/client.js +636 -0
  1398. package/node_modules/@line/bot-sdk/dist/endpoints.js +7 -0
  1399. package/node_modules/@line/bot-sdk/dist/exceptions.js +15 -1
  1400. package/node_modules/@line/bot-sdk/dist/http-axios.js +2 -6
  1401. package/node_modules/@line/bot-sdk/dist/http-fetch.js +5 -13
  1402. package/node_modules/@line/bot-sdk/dist/index.js +1 -0
  1403. package/node_modules/@line/bot-sdk/dist/insight/api/insightClient.js +3 -0
  1404. package/node_modules/@line/bot-sdk/dist/liff/api/liffClient.js +3 -0
  1405. package/node_modules/@line/bot-sdk/dist/line-bot-client.factory.generated.js +63 -0
  1406. package/node_modules/@line/bot-sdk/dist/line-bot-client.generated.js +1995 -0
  1407. package/node_modules/@line/bot-sdk/dist/line-bot-client.js +58 -0
  1408. package/node_modules/@line/bot-sdk/dist/manage-audience/api/manageAudienceBlobClient.js +3 -0
  1409. package/node_modules/@line/bot-sdk/dist/manage-audience/api/manageAudienceClient.js +3 -0
  1410. package/node_modules/@line/bot-sdk/dist/messaging-api/api/messagingApiBlobClient.js +3 -0
  1411. package/node_modules/@line/bot-sdk/dist/messaging-api/api/messagingApiClient.js +3 -0
  1412. package/node_modules/@line/bot-sdk/dist/module/api/lineModuleClient.js +3 -0
  1413. package/node_modules/@line/bot-sdk/dist/module-attach/api/lineModuleAttachClient.js +3 -0
  1414. package/node_modules/@line/bot-sdk/dist/shop/api/shopClient.js +3 -0
  1415. package/node_modules/@line/bot-sdk/dist/utils.js +9 -0
  1416. package/node_modules/@line/bot-sdk/dist/version.js +1 -1
  1417. package/node_modules/@line/bot-sdk/package.json +10 -7
  1418. package/node_modules/@mariozechner/clipboard-linux-x64-gnu/clipboard.linux-x64-gnu.node +0 -0
  1419. package/node_modules/@mariozechner/clipboard-linux-x64-gnu/package.json +25 -0
  1420. package/node_modules/@mariozechner/clipboard-linux-x64-musl/clipboard.linux-x64-musl.node +0 -0
  1421. package/node_modules/@mariozechner/clipboard-linux-x64-musl/package.json +25 -0
  1422. package/node_modules/@slack/bolt/dist/App.js +22 -30
  1423. package/node_modules/@slack/bolt/dist/Assistant.js +21 -37
  1424. package/node_modules/@slack/bolt/dist/CustomFunction.js +1 -43
  1425. package/node_modules/@slack/bolt/dist/context/create-function-complete.js +23 -0
  1426. package/node_modules/@slack/bolt/dist/context/create-function-fail.js +23 -0
  1427. package/node_modules/@slack/bolt/dist/context/create-respond.js +11 -0
  1428. package/node_modules/@slack/bolt/dist/context/create-say-stream.js +16 -0
  1429. package/node_modules/@slack/bolt/dist/context/create-say.js +17 -0
  1430. package/node_modules/@slack/bolt/dist/context/create-set-status.js +21 -0
  1431. package/node_modules/@slack/bolt/dist/context/index.js +16 -0
  1432. package/node_modules/@slack/bolt/dist/helpers.js +79 -3
  1433. package/node_modules/@slack/bolt/dist/index.js +10 -8
  1434. package/node_modules/@slack/bolt/dist/receivers/SocketModeReceiver.js +5 -1
  1435. package/node_modules/@slack/bolt/dist/types/events/index.js +0 -4
  1436. package/node_modules/@slack/bolt/package.json +7 -7
  1437. package/node_modules/@smithy/config-resolver/package.json +10 -11
  1438. package/node_modules/@smithy/core/dist-cjs/getSmithyContext.js +6 -0
  1439. package/node_modules/@smithy/core/dist-cjs/index.js +1 -1
  1440. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +21 -0
  1441. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +21 -0
  1442. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +46 -0
  1443. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/index.js +6 -0
  1444. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/resolveAuthOptions.js +24 -0
  1445. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/getHttpSigningMiddleware.js +19 -0
  1446. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +27 -0
  1447. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/index.js +5 -0
  1448. package/node_modules/@smithy/core/dist-cjs/normalizeProvider.js +10 -0
  1449. package/node_modules/@smithy/core/dist-cjs/pagination/createPaginator.js +44 -0
  1450. package/node_modules/@smithy/core/dist-cjs/request-builder/requestBuilder.js +5 -0
  1451. package/node_modules/@smithy/core/dist-cjs/setFeature.js +14 -0
  1452. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +17 -0
  1453. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +38 -0
  1454. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +15 -0
  1455. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/index.js +6 -0
  1456. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/noAuth.js +9 -0
  1457. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/index.js +6 -0
  1458. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/memoizeIdentityProvider.js +61 -0
  1459. package/node_modules/@smithy/core/package.json +15 -16
  1460. package/node_modules/@smithy/credential-provider-imds/package.json +9 -10
  1461. package/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +13 -0
  1462. package/node_modules/@smithy/eventstream-codec/package.json +6 -7
  1463. package/node_modules/@smithy/eventstream-serde-browser/package.json +7 -8
  1464. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +7 -8
  1465. package/node_modules/@smithy/eventstream-serde-node/package.json +7 -8
  1466. package/node_modules/@smithy/eventstream-serde-universal/package.json +9 -10
  1467. package/node_modules/@smithy/fetch-http-handler/package.json +12 -13
  1468. package/node_modules/@smithy/hash-node/package.json +6 -7
  1469. package/node_modules/@smithy/invalid-dependency/package.json +6 -7
  1470. package/node_modules/@smithy/middleware-content-length/package.json +7 -8
  1471. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +2 -2
  1472. package/node_modules/@smithy/middleware-endpoint/package.json +13 -14
  1473. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +70 -29
  1474. package/node_modules/@smithy/middleware-retry/dist-es/index.js +5 -4
  1475. package/node_modules/@smithy/middleware-retry/dist-es/longPollMiddleware.js +15 -0
  1476. package/node_modules/@smithy/middleware-retry/dist-es/parseRetryAfterHeader.js +49 -0
  1477. package/node_modules/@smithy/middleware-retry/dist-es/{StandardRetryStrategy.js → retry-pre-sra-deprecated/StandardRetryStrategy.js} +1 -1
  1478. package/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js +13 -20
  1479. package/node_modules/@smithy/middleware-retry/package.json +16 -16
  1480. package/node_modules/@smithy/middleware-serde/package.json +10 -11
  1481. package/node_modules/@smithy/middleware-stack/package.json +7 -8
  1482. package/node_modules/@smithy/node-config-provider/package.json +8 -9
  1483. package/node_modules/@smithy/node-http-handler/package.json +10 -11
  1484. package/node_modules/@smithy/property-provider/package.json +6 -7
  1485. package/node_modules/@smithy/protocol-http/package.json +6 -7
  1486. package/node_modules/@smithy/querystring-builder/package.json +6 -7
  1487. package/node_modules/@smithy/querystring-parser/package.json +6 -7
  1488. package/node_modules/@smithy/service-error-classification/package.json +6 -7
  1489. package/node_modules/@smithy/shared-ini-file-loader/package.json +7 -8
  1490. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +13 -0
  1491. package/node_modules/@smithy/signature-v4/package.json +9 -10
  1492. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -1
  1493. package/node_modules/@smithy/smithy-client/package.json +14 -15
  1494. package/node_modules/@smithy/types/package.json +7 -8
  1495. package/node_modules/@smithy/url-parser/package.json +7 -8
  1496. package/node_modules/@smithy/util-defaults-mode-browser/package.json +8 -9
  1497. package/node_modules/@smithy/util-defaults-mode-node/package.json +11 -12
  1498. package/node_modules/@smithy/util-endpoints/package.json +9 -10
  1499. package/node_modules/@smithy/util-middleware/package.json +6 -7
  1500. package/node_modules/@smithy/util-retry/dist-cjs/index.js +123 -76
  1501. package/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js +7 -4
  1502. package/node_modules/@smithy/util-retry/dist-es/ConfiguredRetryStrategy.js +2 -2
  1503. package/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js +24 -25
  1504. package/node_modules/@smithy/util-retry/dist-es/DefaultRetryBackoffStrategy.js +14 -0
  1505. package/node_modules/@smithy/util-retry/dist-es/DefaultRetryToken.js +25 -0
  1506. package/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js +39 -26
  1507. package/node_modules/@smithy/util-retry/dist-es/index.js +1 -0
  1508. package/node_modules/@smithy/util-retry/dist-es/retries-2026-config.js +18 -0
  1509. package/node_modules/@smithy/util-retry/package.json +10 -11
  1510. package/node_modules/@smithy/util-stream/package.json +12 -13
  1511. package/node_modules/@snazzah/davey-linux-x64-gnu/davey.linux-x64-gnu.node +0 -0
  1512. package/node_modules/@snazzah/davey-linux-x64-gnu/package.json +43 -0
  1513. package/node_modules/@snazzah/davey-linux-x64-musl/davey.linux-x64-musl.node +0 -0
  1514. package/node_modules/@snazzah/davey-linux-x64-musl/package.json +43 -0
  1515. package/node_modules/dotenv/lib/main.js +1 -1
  1516. package/node_modules/dotenv/package.json +1 -1
  1517. package/node_modules/dotenv/skills/dotenv/SKILL.md +32 -52
  1518. package/node_modules/dotenv/skills/dotenvx/SKILL.md +57 -273
  1519. package/node_modules/grammy/out/bot.js +1 -0
  1520. package/node_modules/grammy/out/context.js +35 -0
  1521. package/node_modules/grammy/out/convenience/keyboard.js +30 -2
  1522. package/node_modules/grammy/out/core/api.js +34 -0
  1523. package/node_modules/grammy/out/filter.js +6 -2
  1524. package/node_modules/grammy/out/web.mjs +58 -10
  1525. package/node_modules/grammy/package.json +2 -2
  1526. package/node_modules/lru-cache/dist/commonjs/diagnostics-channel.js +12 -0
  1527. package/node_modules/lru-cache/dist/commonjs/index.js +227 -130
  1528. package/node_modules/lru-cache/dist/commonjs/index.min.js +1 -1
  1529. package/node_modules/lru-cache/dist/esm/diagnostics-channel-esm.d.mts.map +1 -0
  1530. package/node_modules/lru-cache/dist/esm/diagnostics-channel.js +17 -0
  1531. package/node_modules/lru-cache/dist/esm/index.js +227 -130
  1532. package/node_modules/lru-cache/dist/esm/index.min.js +1 -1
  1533. package/node_modules/lru-cache/dist/esm/node/diagnostics-channel-node.d.mts.map +1 -0
  1534. package/node_modules/lru-cache/dist/esm/node/diagnostics-channel.js +8 -0
  1535. package/node_modules/lru-cache/dist/esm/node/index.js +1688 -0
  1536. package/node_modules/lru-cache/dist/esm/node/index.min.js +2 -0
  1537. package/node_modules/lru-cache/package.json +29 -9
  1538. package/node_modules/netmask/dist/netmask.js +58 -0
  1539. package/node_modules/netmask/dist/netmask4.js +189 -0
  1540. package/node_modules/netmask/dist/netmask6.js +187 -0
  1541. package/node_modules/netmask/package.json +15 -6
  1542. package/node_modules/path-expression-matcher/lib/pem.cjs +1 -1
  1543. package/node_modules/path-expression-matcher/lib/pem.d.cts +93 -0
  1544. package/node_modules/path-expression-matcher/lib/pem.min.js +1 -1
  1545. package/node_modules/path-expression-matcher/package.json +1 -1
  1546. package/node_modules/path-expression-matcher/src/ExpressionSet.js +189 -0
  1547. package/node_modules/path-expression-matcher/src/Matcher.js +50 -20
  1548. package/node_modules/path-expression-matcher/src/index.js +3 -2
  1549. package/node_modules/strnum/package.json +1 -1
  1550. package/package.json +1 -1
  1551. package/preset-config.json +12 -0
  1552. package/node_modules/@smithy/util-retry/dist-es/defaultRetryBackoffStrategy.js +0 -14
  1553. package/node_modules/@smithy/util-retry/dist-es/defaultRetryToken.js +0 -11
  1554. package/node_modules/netmask/CREDITS.md +0 -30
  1555. package/node_modules/netmask/lib/netmask.coffee +0 -167
  1556. package/node_modules/netmask/lib/netmask.js +0 -208
  1557. package/node_modules/strnum/.github/SECURITY.md +0 -5
  1558. package/node_modules/strnum/.vscode/launch.json +0 -25
  1559. package/node_modules/strnum/algo.stflow +0 -84
  1560. package/skills/sherpa-onnx-tts/bin/sherpa-onnx-tts +0 -178
  1561. /package/node_modules/@smithy/middleware-retry/dist-es/{AdaptiveRetryStrategy.js → retry-pre-sra-deprecated/AdaptiveRetryStrategy.js} +0 -0
  1562. /package/node_modules/@smithy/middleware-retry/dist-es/{defaultRetryQuota.js → retry-pre-sra-deprecated/defaultRetryQuota.js} +0 -0
  1563. /package/node_modules/@smithy/middleware-retry/dist-es/{delayDecider.js → retry-pre-sra-deprecated/delayDecider.js} +0 -0
  1564. /package/node_modules/@smithy/middleware-retry/dist-es/{retryDecider.js → retry-pre-sra-deprecated/retryDecider.js} +0 -0
  1565. /package/node_modules/@smithy/middleware-retry/dist-es/{types.js → retry-pre-sra-deprecated/types.js} +0 -0
@@ -2,3 +2,4 @@ import"./paths-B4IRk3wi.js";import{A as e,k as t,p as n}from"./subsystem-C5XF2Fy
2
2
  `))})}),{timeoutMs:6e4}),z(t.command(`clip`).description(`Capture a short video clip from a node camera (prints MEDIA:<path>)`).requiredOption(`--node <idOrNameOrIp>`,`Node id, name, or IP`).option(`--facing <front|back>`,`Camera facing`,`front`).option(`--device-id <id>`,`Camera device id (from nodes camera list)`).option(`--duration <ms|10s|1m>`,`Duration (default 3000ms; supports ms/s/m, e.g. 10s)`,`3000`).option(`--no-audio`,`Disable audio capture`).option(`--invoke-timeout <ms>`,`Node invoke timeout in ms (default 90000)`,`90000`).action(async e=>{await W(`camera clip`,async()=>{let t=await I(e,String(e.node??``)),i=t.nodeId,a=G(String(e.facing??`front`)),s=o(String(e.duration??`3000`)),c=e.audio!==!1,l=e.invokeTimeout?Number.parseInt(String(e.invokeTimeout),10):void 0,u=e.deviceId?String(e.deviceId).trim():void 0,d=await L(`node.invoke`,e,V({nodeId:i,command:`camera.clip`,params:{facing:a,durationMs:Number.isFinite(s)?s:void 0,includeAudio:c,format:`mp4`,deviceId:u||void 0},timeoutMs:l})),f=ee((typeof d==`object`&&d?d:{}).payload),p=await C({payload:f,facing:a,expectedHost:t.remoteIp});if(e.json){n.log(JSON.stringify({file:{facing:a,path:p,durationMs:f.durationMs,hasAudio:f.hasAudio}},null,2));return}n.log(`MEDIA:${r(p)}`)})}),{timeoutMs:9e4})}const q=[`beginRendering`,`surfaceUpdate`,`dataModelUpdate`,`deleteSurface`,`createSurface`];function J(e){let t=`main`,n=`root`,r=`text`;return[{surfaceUpdate:{surfaceId:t,components:[{id:n,component:{Column:{children:{explicitList:[r]}}}},{id:r,component:{Text:{text:{literalString:e},usageHint:`body`}}}]}},{beginRendering:{surfaceId:t,root:n}}].map(e=>JSON.stringify(e)).join(`
3
3
  `)}function oe(e){let t=e.split(/\r?\n/),n=[],r=!1,i=!1,a=0;if(t.forEach((e,t)=>{let o=e.trim();if(!o)return;a+=1;let s;try{s=JSON.parse(o)}catch(e){n.push(`line ${t+1}: ${String(e)}`);return}if(!s||typeof s!=`object`||Array.isArray(s)){n.push(`line ${t+1}: expected JSON object`);return}let c=s,l=q.filter(e=>e in c);if(l.length!==1){n.push(`line ${t+1}: expected exactly one action key (${q.join(`, `)})`);return}l[0]===`createSurface`?i=!0:r=!0}),a===0&&n.push(`no JSONL messages found`),r&&i&&n.push(`mixed A2UI v0.8 and v0.9 messages in one file`),n.length>0)throw Error(`Invalid A2UI JSONL:\n- ${n.join(`
4
4
  - `)}`);return{version:i?`v0.9`:`v0.8`,messageCount:a}}async function Y(e,t,n){let r=await F(e,String(e.node??``)),i=M(e.invokeTimeout);return await L(`node.invoke`,e,V({nodeId:r,command:t,params:n,timeoutMs:typeof i==`number`?i:void 0}))}function se(e){let t=e.command(`canvas`).description(`Capture or render canvas content from a paired node`);z(t.command(`snapshot`).description(`Capture a canvas snapshot (prints MEDIA:<path>)`).requiredOption(`--node <idOrNameOrIp>`,`Node id, name, or IP`).option(`--format <png|jpg|jpeg>`,`Image format`,`jpg`).option(`--max-width <px>`,`Max width in px (optional)`).option(`--quality <0-1>`,`JPEG quality (optional)`).option(`--invoke-timeout <ms>`,`Node invoke timeout in ms (default 20000)`,`20000`).action(async e=>{await W(`canvas snapshot`,async()=>{let t=String(e.format??`jpg`).trim().toLowerCase(),i=t===`jpg`||t===`jpeg`?`jpeg`:`png`;if(i!==`png`&&i!==`jpeg`)throw Error(`invalid format: ${String(e.format)} (expected png|jpg|jpeg)`);let a=e.maxWidth?Number.parseInt(String(e.maxWidth),10):void 0,o=e.quality?Number.parseFloat(String(e.quality)):void 0,s=await Y(e,`canvas.snapshot`,{format:i,maxWidth:Number.isFinite(a)?a:void 0,quality:Number.isFinite(o)?o:void 0}),c=re((typeof s==`object`&&s?s:{}).payload),l=S({ext:c.format===`jpeg`?`jpg`:c.format});if(await ae(l,c.base64),e.json){n.log(JSON.stringify({file:{path:l,format:c.format}},null,2));return}n.log(`MEDIA:${r(l)}`)})}),{timeoutMs:6e4}),z(t.command(`present`).description(`Show the canvas (optionally with a target URL/path)`).requiredOption(`--node <idOrNameOrIp>`,`Node id, name, or IP`).option(`--target <urlOrPath>`,`Target URL/path (optional)`).option(`--x <px>`,`Placement x coordinate`).option(`--y <px>`,`Placement y coordinate`).option(`--width <px>`,`Placement width`).option(`--height <px>`,`Placement height`).option(`--invoke-timeout <ms>`,`Node invoke timeout in ms`).action(async e=>{await W(`canvas present`,async()=>{let t={x:e.x?Number.parseFloat(e.x):void 0,y:e.y?Number.parseFloat(e.y):void 0,width:e.width?Number.parseFloat(e.width):void 0,height:e.height?Number.parseFloat(e.height):void 0},r={};if(e.target&&(r.url=String(e.target)),(Number.isFinite(t.x)||Number.isFinite(t.y)||Number.isFinite(t.width)||Number.isFinite(t.height))&&(r.placement=t),await Y(e,`canvas.present`,r),!e.json){let{ok:e}=U();n.log(e(`canvas present ok`))}})})),z(t.command(`hide`).description(`Hide the canvas`).requiredOption(`--node <idOrNameOrIp>`,`Node id, name, or IP`).option(`--invoke-timeout <ms>`,`Node invoke timeout in ms`).action(async e=>{await W(`canvas hide`,async()=>{if(await Y(e,`canvas.hide`,void 0),!e.json){let{ok:e}=U();n.log(e(`canvas hide ok`))}})})),z(t.command(`navigate`).description(`Navigate the canvas to a URL`).argument(`<url>`,`Target URL/path`).requiredOption(`--node <idOrNameOrIp>`,`Node id, name, or IP`).option(`--invoke-timeout <ms>`,`Node invoke timeout in ms`).action(async(e,t)=>{await W(`canvas navigate`,async()=>{if(await Y(t,`canvas.navigate`,{url:e}),!t.json){let{ok:e}=U();n.log(e(`canvas navigate ok`))}})})),z(t.command(`eval`).description(`Evaluate JavaScript in the canvas`).argument(`[js]`,`JavaScript to evaluate`).option(`--js <code>`,`JavaScript to evaluate`).requiredOption(`--node <idOrNameOrIp>`,`Node id, name, or IP`).option(`--invoke-timeout <ms>`,`Node invoke timeout in ms`).action(async(e,t)=>{await W(`canvas eval`,async()=>{let r=t.js??e;if(!r)throw Error(`missing --js or <js>`);let i=await Y(t,`canvas.eval`,{javaScript:r});if(t.json){n.log(JSON.stringify(i,null,2));return}let a=typeof i==`object`&&i?i.payload:void 0;if(a?.result)n.log(a.result);else{let{ok:e}=U();n.log(e(`canvas eval ok`))}})}));let i=t.command(`a2ui`).description(`Render A2UI content on the canvas`);z(i.command(`push`).description(`Push A2UI JSONL to the canvas`).option(`--jsonl <path>`,`Path to JSONL payload`).option(`--text <text>`,`Render a quick A2UI text payload`).requiredOption(`--node <idOrNameOrIp>`,`Node id, name, or IP`).option(`--invoke-timeout <ms>`,`Node invoke timeout in ms`).action(async e=>{await W(`canvas a2ui push`,async()=>{let t=!!e.jsonl,r=typeof e.text==`string`;if(t===r)throw Error(`provide exactly one of --jsonl or --text`);let i=r?J(String(e.text??``)):await H.readFile(String(e.jsonl),`utf8`),{version:a,messageCount:o}=oe(i);if(a===`v0.9`)throw Error(`Detected A2UI v0.9 JSONL (createSurface). OpenClaw currently supports v0.8 only.`);if(await Y(e,`canvas.a2ui.pushJSONL`,{jsonl:i}),!e.json){let{ok:e}=U();n.log(e(`canvas a2ui push ok (v0.8, ${o} message${o===1?``:`s`})`))}})})),z(i.command(`reset`).description(`Reset A2UI renderer state`).requiredOption(`--node <idOrNameOrIp>`,`Node id, name, or IP`).option(`--invoke-timeout <ms>`,`Node invoke timeout in ms`).action(async e=>{await W(`canvas a2ui reset`,async()=>{if(await Y(e,`canvas.a2ui.reset`,void 0),!e.json){let{ok:e}=U();n.log(e(`canvas a2ui reset ok`))}})}))}function ce(e,t){let n=e?.tools?.exec;if(!t)return n?{security:n.security,ask:n.ask,node:n.node,pathPrepend:n.pathPrepend,safeBins:n.safeBins}:void 0;let r=c(e,t)?.tools?.exec;return{security:r?.security??n?.security,ask:r?.ask??n?.ask,node:r?.node??n?.node,pathPrepend:r?.pathPrepend??n?.pathPrepend,safeBins:r?.safeBins??n?.safeBins}}async function le(e,t){try{let n=j(await L(`node.list`,e,{})).find(e=>e.nodeId===t);return typeof n?.platform==`string`?n.platform:null}catch{return null}}function ue(e){let t=ie(e);if(!t)throw Error(`invalid system.run.prepare response`);return t}function de(e,t){let n=h(t?.security)??`allowlist`,r=h(e.security);if(e.security&&!r)throw Error(`invalid --security (use deny|allowlist|full)`);let i=v(t?.ask)??_().defaults?.ask??`on-miss`,a=v(e.ask);if(e.ask&&!a)throw Error(`invalid --ask (use off|on-miss|always)`);return{security:y(n,r??n),ask:m(i,a??i)}}async function fe(e){let t=te(e.opts.env),n=M(e.opts.commandTimeout),r=M(e.opts.invokeTimeout),i=Array.isArray(e.command)?e.command:[],a;if(e.raw){a=e.raw;let t=await le(e.opts,e.nodeId);i=T(a,t??void 0)}let o=t?{...t}:void 0;return o&&x(o,e.execDefaults?.pathPrepend,{requireExisting:!0}),{prepared:ue((await L(`node.invoke`,e.opts,{nodeId:e.nodeId,command:`system.run.prepare`,params:{command:i,rawCommand:a,cwd:e.opts.cwd,agentId:e.agentId},idempotencyKey:`prepare-${l()}`}))?.payload),nodeEnv:o,timeoutMs:n,invokeTimeout:r}}async function pe(e){let t=await L(`exec.approvals.node.get`,e.opts,{nodeId:e.nodeId}),n=t&&typeof t==`object`?t.file:void 0;if(!n||typeof n!=`object`)throw Error(`exec approvals unavailable`);let r=g({file:n,agentId:e.agentId,overrides:{security:e.security,ask:e.ask}});return{approvals:r,hostSecurity:y(e.security,r.agent.security),hostAsk:m(e.ask,r.agent.ask),askFallback:r.agent.askFallback}}async function me(e){let t=!1,n=null,r=null;if(!(e.hostAsk===`always`||e.hostAsk===`on-miss`))return{approvedByAsk:t,approvalDecision:n,approvalId:r};r=crypto.randomUUID();let i=b,a=Math.max(M(e.opts.timeout)??0,i+1e4),o=await L(`exec.approval.request`,e.opts,{id:r,systemRunPlan:e.approvalPlan,cwd:e.approvalPlan.cwd,nodeId:e.nodeId,host:`node`,security:e.hostSecurity,ask:e.hostAsk,agentId:e.approvalPlan.agentId??e.agentId,resolvedPath:void 0,sessionKey:e.approvalPlan.sessionKey??void 0,timeoutMs:i},{transportTimeoutMs:a}),s=o&&typeof o==`object`?o.decision??null:null;if(s===`deny`)throw Error(`exec denied: user denied`);if(!s){if(e.askFallback===`full`)t=!0,n=`allow-once`;else if(e.askFallback!==`allowlist`)throw Error(`exec denied: approval required (approval UI not available)`)}return s===`allow-once`&&(t=!0,n=`allow-once`),s===`allow-always`&&(t=!0,n=`allow-always`),{approvedByAsk:t,approvalDecision:n,approvalId:r}}function he(e){let t={nodeId:e.nodeId,command:`system.run`,params:{command:e.approvalPlan.argv,rawCommand:e.approvalPlan.commandText,cwd:e.approvalPlan.cwd,env:e.nodeEnv,timeoutMs:e.timeoutMs,needsScreenRecording:e.needsScreenRecording},idempotencyKey:String(e.idempotencyKey??l())};return(e.approvalPlan.agentId??e.fallbackAgentId)&&(t.params.agentId=e.approvalPlan.agentId??e.fallbackAgentId),e.approvalPlan.sessionKey&&(t.params.sessionKey=e.approvalPlan.sessionKey),t.params.approved=e.approvedByAsk,e.approvalDecision&&(t.params.approvalDecision=e.approvalDecision),e.approvedByAsk&&e.approvalId&&(t.params.runId=e.approvalId),e.invokeTimeout!==void 0&&(t.timeoutMs=e.invokeTimeout),t}function ge(e){z(e.command(`invoke`).description(`Invoke a command on a paired node`).requiredOption(`--node <idOrNameOrIp>`,`Node id, name, or IP`).requiredOption(`--command <command>`,`Command (e.g. canvas.eval)`).option(`--params <json>`,`JSON object string for params`,`{}`).option(`--invoke-timeout <ms>`,`Node invoke timeout in ms (default 15000)`,`15000`).option(`--idempotency-key <key>`,`Idempotency key (optional)`).action(async e=>{await W(`invoke`,async()=>{let t=await F(e,String(e.node??``)),r=String(e.command??``).trim();if(!t||!r){let{error:e}=U();n.error(e(`--node and --command required`)),n.exit(1);return}let i=JSON.parse(String(e.params??`{}`)),a=e.invokeTimeout?Number.parseInt(String(e.invokeTimeout),10):void 0,o={nodeId:t,command:r,params:i,idempotencyKey:String(e.idempotencyKey??l())};typeof a==`number`&&Number.isFinite(a)&&(o.timeoutMs=a);let s=await L(`node.invoke`,e,o);n.log(JSON.stringify(s,null,2))})}),{timeoutMs:3e4}),z(e.command(`run`).description(`Run a shell command on a node (mac only)`).option(`--node <idOrNameOrIp>`,`Node id, name, or IP`).option(`--cwd <path>`,`Working directory`).option(`--env <key=val>`,`Environment override (repeatable)`,(e,t=[])=>[...t,e]).option(`--raw <command>`,`Run a raw shell command string (sh -lc / cmd.exe /c)`).option(`--agent <id>`,`Agent id (default: configured default agent)`).option(`--ask <mode>`,`Exec ask mode (off|on-miss|always)`).option(`--security <mode>`,`Exec security mode (deny|allowlist|full)`).option(`--command-timeout <ms>`,`Command timeout (ms)`).option(`--needs-screen-recording`,`Require screen recording permission`).option(`--invoke-timeout <ms>`,`Node invoke timeout in ms (default 30000)`,`30000`).argument(`[command...]`,`Command and args`).action(async(e,t)=>{await W(`run`,async()=>{let r=a(),i=t.agent?.trim()||s(r),o=ce(r,i),c=typeof t.raw==`string`?t.raw.trim():``;if(c&&Array.isArray(e)&&e.length>0)throw Error(`use --raw or argv, not both`);if(!c&&(!Array.isArray(e)||e.length===0))throw Error(`command required`);let l=String(t.node??``).trim()||o?.node?.trim()||``;if(!l)throw Error(`node required (set --node or tools.exec.node)`);let u=await F(t,l),d=await fe({opts:t,command:e,raw:c,nodeId:u,agentId:i,execDefaults:o}),f=d.prepared.plan,p=de(t,o),m=await pe({opts:t,nodeId:u,agentId:i,security:p.security,ask:p.ask});if(m.hostSecurity===`deny`)throw Error(`exec denied: host=node security=deny`);let h=await me({opts:t,nodeId:u,agentId:i,approvalPlan:f,hostSecurity:m.hostSecurity,hostAsk:m.hostAsk,askFallback:m.askFallback}),g=await L(`node.invoke`,t,he({nodeId:u,approvalPlan:f,nodeEnv:d.nodeEnv,timeoutMs:d.timeoutMs,invokeTimeout:d.invokeTimeout,approvedByAsk:h.approvedByAsk,approvalDecision:h.approvalDecision,approvalId:h.approvalId,idempotencyKey:t.idempotencyKey,fallbackAgentId:i,needsScreenRecording:t.needsScreenRecording===!0}));if(t.json){n.log(JSON.stringify(g,null,2));return}let _=typeof g==`object`&&g?g.payload:void 0,v=typeof _?.stdout==`string`?_.stdout:``,y=typeof _?.stderr==`string`?_.stderr:``,b=typeof _?.exitCode==`number`?_.exitCode:null,x=_?.timedOut===!0,S=_?.success===!0;if(v&&process.stdout.write(v),y&&process.stderr.write(y),x){let{error:e}=U();n.error(e(`run timed out`)),n.exit(1);return}if(b!==null&&b!==0){let e=R(`${y}\n${v}`);if(e){let{warn:t}=U();n.error(t(e))}}if(b!==null&&b!==0&&!S){let{error:e}=U();n.error(e(`run exit ${b}`)),n.exit(1);return}})}),{timeoutMs:35e3})}function _e(e){z(e.command(`location`).description(`Fetch location from a paired node`).command(`get`).description(`Fetch the current location from a node`).requiredOption(`--node <idOrNameOrIp>`,`Node id, name, or IP`).option(`--max-age <ms>`,`Use cached location newer than this (ms)`).option(`--accuracy <coarse|balanced|precise>`,`Desired accuracy (default: balanced/precise depending on node setting)`).option(`--location-timeout <ms>`,`Location fix timeout (ms)`,`10000`).option(`--invoke-timeout <ms>`,`Node invoke timeout in ms (default 20000)`,`20000`).action(async e=>{await W(`location get`,async()=>{let t=await F(e,String(e.node??``)),r=e.maxAge?Number.parseInt(String(e.maxAge),10):void 0,i=typeof e.accuracy==`string`?e.accuracy.trim().toLowerCase():void 0,a=i===`coarse`||i===`balanced`||i===`precise`?i:void 0,o=e.locationTimeout?Number.parseInt(String(e.locationTimeout),10):void 0,s=e.invokeTimeout?Number.parseInt(String(e.invokeTimeout),10):void 0,c={nodeId:t,command:`location.get`,params:{maxAgeMs:Number.isFinite(r)?r:void 0,desiredAccuracy:a,timeoutMs:Number.isFinite(o)?o:void 0},idempotencyKey:l()};typeof s==`number`&&Number.isFinite(s)&&(c.timeoutMs=s);let u=await L(`node.invoke`,e,c),d=typeof u==`object`&&u?u:{},f=d.payload&&typeof d.payload==`object`?d.payload:{};if(e.json){n.log(JSON.stringify(f,null,2));return}let p=f.lat,m=f.lon,h=f.accuracyMeters;if(typeof p==`number`&&typeof m==`number`){let e=typeof h==`number`?` ±${h.toFixed(1)}m`:``;n.log(`${p},${m}${e}`);return}n.log(JSON.stringify(f))})}),{timeoutMs:3e4})}function ve(e){z(e.command(`notify`).description(`Send a local notification on a node (mac only)`).requiredOption(`--node <idOrNameOrIp>`,`Node id, name, or IP`).option(`--title <text>`,`Notification title`).option(`--body <text>`,`Notification body`).option(`--sound <name>`,`Notification sound`).option(`--priority <passive|active|timeSensitive>`,`Notification priority`).option(`--delivery <system|overlay|auto>`,`Delivery mode`,`system`).option(`--invoke-timeout <ms>`,`Node invoke timeout in ms (default 15000)`,`15000`).action(async e=>{await W(`notify`,async()=>{let t=await F(e,String(e.node??``)),r=String(e.title??``).trim(),i=String(e.body??``).trim();if(!r&&!i)throw Error(`missing --title or --body`);let a=e.invokeTimeout?Number.parseInt(String(e.invokeTimeout),10):void 0,o={nodeId:t,command:`system.notify`,params:{title:r,body:i,sound:e.sound,priority:e.priority,delivery:e.delivery},idempotencyKey:String(e.idempotencyKey??l())};typeof a==`number`&&Number.isFinite(a)&&(o.timeoutMs=a);let s=await L(`node.invoke`,e,o);if(e.json){n.log(JSON.stringify(s,null,2));return}let{ok:c}=U();n.log(c(`notify ok`))})}))}function X(e){let{pending:t,now:n,tableWidth:r,theme:i}=e,a=t.map(e=>({Request:e.requestId,Node:e.displayName?.trim()?e.displayName.trim():e.nodeId,IP:e.remoteIp??``,Requested:typeof e.ts==`number`?u(Math.max(0,n-e.ts)):i.muted(`unknown`),Repair:e.isRepair?i.warn(`yes`):``}));return{heading:i.heading(`Pending`),table:N({width:r,columns:[{key:`Request`,header:`Request`,minWidth:8},{key:`Node`,header:`Node`,minWidth:14,flex:!0},{key:`IP`,header:`IP`,minWidth:10},{key:`Requested`,header:`Requested`,minWidth:12},{key:`Repair`,header:`Repair`,minWidth:6}],rows:a}).trimEnd()}}function ye(e){z(e.command(`pending`).description(`List pending pairing requests`).action(async e=>{await W(`pending`,async()=>{let{pending:t}=A(await L(`node.pair.list`,e,{}));if(e.json){n.log(JSON.stringify(t,null,2));return}if(t.length===0){let{muted:e}=U();n.log(e(`No pending pairing requests.`));return}let{heading:r,warn:i,muted:a}=U(),o=P(),s=X({pending:t,now:Date.now(),tableWidth:o,theme:{heading:r,warn:i,muted:a}});n.log(s.heading),n.log(s.table)})})),z(e.command(`approve`).description(`Approve a pending pairing request`).argument(`<requestId>`,`Pending request id`).action(async(e,t)=>{await W(`approve`,async()=>{let r=await L(`node.pair.approve`,t,{requestId:e});n.log(JSON.stringify(r,null,2))})})),z(e.command(`reject`).description(`Reject a pending pairing request`).argument(`<requestId>`,`Pending request id`).action(async(e,t)=>{await W(`reject`,async()=>{let r=await L(`node.pair.reject`,t,{requestId:e});n.log(JSON.stringify(r,null,2))})})),z(e.command(`rename`).description(`Rename a paired node (display name override)`).requiredOption(`--node <idOrNameOrIp>`,`Node id, name, or IP`).requiredOption(`--name <displayName>`,`New display name`).action(async e=>{await W(`rename`,async()=>{let t=await F(e,String(e.node??``)),r=String(e.name??``).trim();if(!t||!r){n.error(`--node and --name required`),n.exit(1);return}let i=await L(`node.rename`,e,{nodeId:t,displayName:r});if(e.json){n.log(JSON.stringify(i,null,2));return}let{ok:a}=U();n.log(a(`node rename ok: ${t} -> ${r}`))})}))}function be(e){if(typeof e!=`string`)return null;let t=e.trim().toLowerCase();return t===`sandbox`||t===`production`?t:null}function xe(e){z(e.command(`push`).description(`Send an APNs test push to an iOS node`).requiredOption(`--node <idOrNameOrIp>`,`Node id, name, or IP`).option(`--title <text>`,`Push title`,`OpenClaw`).option(`--body <text>`,`Push body`).option(`--environment <sandbox|production>`,`Override APNs environment`).action(async e=>{await W(`push`,async()=>{let t=await F(e,String(e.node??``)),r=String(e.title??``).trim()||`OpenClaw`,i=String(e.body??``).trim()||`Push test for node ${t}`,a=be(e.environment);if(e.environment&&!a)throw Error(`invalid --environment (use sandbox|production)`);let o={nodeId:t,title:r,body:i};a&&(o.environment=a);let s=await L(`push.test`,e,o);if(e.json){n.log(JSON.stringify(s,null,2));return}let c=typeof s==`object`&&s?s:{},l=c.ok===!0,u=typeof c.status==`number`?c.status:0,d=typeof c.reason==`string`&&c.reason.trim().length>0?c.reason.trim():void 0,f=typeof c.environment==`string`&&c.environment.trim().length>0?c.environment.trim():`unknown`,{ok:p,error:m}=U(),h=l?p:m;n.log(h(`push.test status=${u} ok=${l} env=${f}`)),d&&n.log(`reason: ${d}`)})}),{timeoutMs:25e3})}function Se(e){z(e.command(`screen`).description(`Capture screen recordings from a paired node`).command(`record`).description(`Capture a short screen recording from a node (prints MEDIA:<path>)`).requiredOption(`--node <idOrNameOrIp>`,`Node id, name, or IP`).option(`--screen <index>`,`Screen index (0 = primary)`,`0`).option(`--duration <ms|10s>`,`Clip duration (ms or 10s)`,`10000`).option(`--fps <fps>`,`Frames per second`,`10`).option(`--no-audio`,`Disable microphone audio capture`).option(`--out <path>`,`Output path`).option(`--invoke-timeout <ms>`,`Node invoke timeout in ms (default 120000)`,`120000`).action(async e=>{await W(`screen record`,async()=>{let t=await F(e,String(e.node??``)),i=o(e.duration??``),a=Number.parseInt(String(e.screen??`0`),10),s=Number.parseFloat(String(e.fps??`10`)),c=e.invokeTimeout?Number.parseInt(String(e.invokeTimeout),10):void 0,l=await L(`node.invoke`,e,V({nodeId:t,command:`screen.record`,params:{durationMs:Number.isFinite(i)?i:void 0,screenIndex:Number.isFinite(a)?a:void 0,fps:Number.isFinite(s)?s:void 0,format:`mp4`,includeAudio:e.audio!==!1},timeoutMs:c})),u=k((typeof l==`object`&&l?l:{}).payload),d=await D(e.out??ne({ext:u.format||`mp4`}),u.base64);if(e.json){n.log(JSON.stringify({file:{path:d.path,durationMs:u.durationMs,fps:u.fps,screenIndex:u.screenIndex,hasAudio:u.hasAudio}},null,2));return}n.log(`MEDIA:${r(d.path)}`)})}),{timeoutMs:18e4})}function Z(e){let t=e.trim();return t?t.toLowerCase().startsWith(`v`)?t:/^\d/.test(t)?`v${t}`:t:e}function Ce(e){let t=e.coreVersion?.trim()||void 0,n=e.uiVersion?.trim()||void 0;if(t||n)return{core:t,ui:n};let r=e.version?.trim();if(!r)return{core:void 0,ui:void 0};let i=e.platform?.trim().toLowerCase()??``;return i===`darwin`||i===`linux`||i===`win32`||i===`windows`?{core:r,ui:void 0}:{core:void 0,ui:r}}function Q(e){let{core:t,ui:n}=Ce(e),r=[];return t&&r.push(`core ${Z(t)}`),n&&r.push(`ui ${Z(n)}`),r.length>0?r.join(` · `):null}function we(e){if(typeof e!=`string`)return null;let t=e.trim();if(!t)return null;let n=t.split(`:`).filter(Boolean);return i(n.length<=3?t:`${n.slice(0,2).join(`:`)}:…:${n.slice(-1)[0]}`)}function $(e,t){if(e==null)return;let r=typeof e==`string`?e.trim():typeof e==`number`?String(e).trim():null;if(r===null){n.error(`${t}: invalid duration value`),n.exit(1);return}if(r)try{return o(r)}catch(e){let r=e instanceof Error?e.message:String(e);n.error(`${t}: ${r}`),n.exit(1);return}}function Te(e){z(e.command(`status`).description(`List known nodes with connection status and capabilities`).option(`--connected`,`Only show connected nodes`).option(`--last-connected <duration>`,`Only show nodes connected within duration (e.g. 24h)`).action(async e=>{await W(`status`,async()=>{let t=!!e.connected,r=$(e.lastConnected,`Invalid --last-connected`),i=await L(`node.list`,e,{}),a=typeof i==`object`&&i?i:{},{ok:o,warn:s,muted:c}=U(),l=P(),d=Date.now(),f=j(i),p=r===void 0?null:new Map(A(await L(`node.pair.list`,e,{})).paired.map(e=>[e.nodeId,e])),m=f.filter(e=>{if(t&&!e.connected)return!1;if(r!==void 0){let t=p?.get(e.nodeId),n=typeof t?.lastConnectedAtMs==`number`?t.lastConnectedAtMs:typeof e.connectedAtMs==`number`?e.connectedAtMs:void 0;if(typeof n!=`number`||d-n>r)return!1}return!0});if(e.json){let e=typeof a.ts==`number`?a.ts:Date.now();n.log(JSON.stringify({...a,ts:e,nodes:m},null,2));return}let h=m.filter(e=>!!e.paired).length,g=m.filter(e=>!!e.connected).length,_=m.length===f.length?``:` (of ${f.length})`;if(n.log(`Known: ${m.length}${_} · Paired: ${h} · Connected: ${g}`),m.length===0)return;let v=m.map(e=>{let t=e.displayName?.trim()?e.displayName.trim():e.nodeId,n=B(e.permissions),r=Q(e),i=we(e.pathEnv),a=[e.deviceFamily?`device: ${e.deviceFamily}`:null,e.modelIdentifier?`hw: ${e.modelIdentifier}`:null,n?`perms: ${n}`:null,r,i?`path: ${i}`:null].filter(Boolean),l=Array.isArray(e.caps)?e.caps.map(String).filter(Boolean).toSorted().join(`, `):`?`,f=e.paired?o(`paired`):s(`unpaired`),p=e.connected?o(`connected`):c(`disconnected`),m=typeof e.connectedAtMs==`number`?` (${u(Math.max(0,d-e.connectedAtMs))})`:``;return{Node:t,ID:e.nodeId,IP:e.remoteIp??``,Detail:a.join(` · `),Status:`${f} · ${p}${m}`,Caps:l}});n.log(N({width:l,columns:[{key:`Node`,header:`Node`,minWidth:14,flex:!0},{key:`ID`,header:`ID`,minWidth:10},{key:`IP`,header:`IP`,minWidth:10},{key:`Detail`,header:`Detail`,minWidth:18,flex:!0},{key:`Status`,header:`Status`,minWidth:18},{key:`Caps`,header:`Caps`,minWidth:12,flex:!0}],rows:v}).trimEnd())})})),z(e.command(`describe`).description(`Describe a node (capabilities + supported invoke commands)`).requiredOption(`--node <idOrNameOrIp>`,`Node id, name, or IP`).action(async e=>{await W(`describe`,async()=>{let t=await F(e,String(e.node??``)),r=await L(`node.describe`,e,{nodeId:t});if(e.json){n.log(JSON.stringify(r,null,2));return}let i=typeof r==`object`&&r?r:{},a=typeof i.displayName==`string`?i.displayName:t,o=!!i.connected,s=!!i.paired,c=Array.isArray(i.caps)?i.caps.map(String).filter(Boolean).toSorted():null,l=Array.isArray(i.commands)?i.commands.map(String).filter(Boolean).toSorted():[],u=B(i.permissions),d=typeof i.deviceFamily==`string`?i.deviceFamily:null,f=typeof i.modelIdentifier==`string`?i.modelIdentifier:null,p=typeof i.remoteIp==`string`?i.remoteIp:null,m=typeof i.pathEnv==`string`?i.pathEnv:null,h=Q(i),{heading:g,ok:_,warn:v,muted:y}=U(),b=`${s?_(`paired`):v(`unpaired`)} · ${o?_(`connected`):y(`disconnected`)}`,x=P(),S=[{Field:`ID`,Value:t},a?{Field:`Name`,Value:a}:null,p?{Field:`IP`,Value:p}:null,d?{Field:`Device`,Value:d}:null,f?{Field:`Model`,Value:f}:null,u?{Field:`Perms`,Value:u}:null,h?{Field:`Version`,Value:h}:null,m?{Field:`PATH`,Value:m}:null,{Field:`Status`,Value:b},{Field:`Caps`,Value:c?c.join(`, `):`?`}].filter(Boolean);if(n.log(g(`Node`)),n.log(N({width:x,columns:[{key:`Field`,header:`Field`,minWidth:8},{key:`Value`,header:`Value`,minWidth:24,flex:!0}],rows:S}).trimEnd()),n.log(``),n.log(g(`Commands`)),l.length===0){n.log(y(`- (none reported)`));return}for(let e of l)n.log(`- ${e}`)})})),z(e.command(`list`).description(`List pending and paired nodes`).option(`--connected`,`Only show connected nodes`).option(`--last-connected <duration>`,`Only show nodes connected within duration (e.g. 24h)`).action(async e=>{await W(`list`,async()=>{let t=!!e.connected,r=$(e.lastConnected,`Invalid --last-connected`),{pending:i,paired:a}=A(await L(`node.pair.list`,e,{})),{heading:o,muted:s,warn:c}=U(),l=P(),d=Date.now(),f=t||r!==void 0,p=f?[]:i,m=f?new Map(j(await L(`node.list`,e,{})).map(e=>[e.nodeId,e])):null,h=a.filter(e=>{if(t&&!m?.get(e.nodeId)?.connected)return!1;if(r!==void 0){let t=m?.get(e.nodeId),n=typeof e.lastConnectedAtMs==`number`?e.lastConnectedAtMs:typeof t?.connectedAtMs==`number`?t.connectedAtMs:void 0;if(typeof n!=`number`||d-n>r)return!1}return!0}),g=f&&h.length!==a.length?` (of ${a.length})`:``;if(n.log(`Pending: ${p.length} · Paired: ${h.length}${g}`),e.json){n.log(JSON.stringify({pending:p,paired:h},null,2));return}if(p.length>0){let e=X({pending:p,now:d,tableWidth:l,theme:{heading:o,warn:c,muted:s}});n.log(``),n.log(e.heading),n.log(e.table)}if(h.length>0){let e=h.map(e=>{let t=m?.get(e.nodeId),n=typeof e.lastConnectedAtMs==`number`?e.lastConnectedAtMs:typeof t?.connectedAtMs==`number`?t.connectedAtMs:void 0;return{Node:e.displayName?.trim()?e.displayName.trim():e.nodeId,Id:e.nodeId,IP:e.remoteIp??``,LastConnect:typeof n==`number`?u(Math.max(0,d-n)):s(`unknown`)}});n.log(``),n.log(o(`Paired`)),n.log(N({width:l,columns:[{key:`Node`,header:`Node`,minWidth:14,flex:!0},{key:`Id`,header:`ID`,minWidth:10},{key:`IP`,header:`IP`,minWidth:10},{key:`LastConnect`,header:`Last Connect`,minWidth:14}],rows:e}).trimEnd())}})}))}function Ee(t){let n=t.command(`nodes`).description(`Manage gateway-owned nodes (pairing, status, invoke, and media)`).addHelpText(`after`,()=>`\n${e.heading(`Examples:`)}\n${p([[`openclaw nodes status`,`List known nodes with live status.`],[`openclaw nodes pairing pending`,`Show pending node pairing requests.`],[`openclaw nodes run --node <id> --raw "uname -a"`,`Run a shell command on a node.`],[`openclaw nodes camera snap --node <id>`,`Capture a photo from a node camera.`]])}\n\n${e.muted(`Docs:`)} ${d(`/cli/nodes`,`docs.openclaw.ai/cli/nodes`)}\n`);Te(n),ye(n),ge(n),ve(n),xe(n),se(n),K(n),Se(n),_e(n)}export{Ee as registerNodesCli};
5
+ //# sourceMappingURL=nodes-cli-zq41EwJN.js.map
@@ -1 +1,2 @@
1
1
  import{H as e}from"./subsystem-C5XF2Fy5.js";import{Fa as t}from"./model-selection-BlC_rXAN.js";import{r as n}from"./command-format-BbDT1tlm.js";import{t as r}from"./fetch-guard-DPdY0NXR.js";import{c as i,l as a,n as o,o as s,t as c}from"./system-run-command-DEWnZE0r.js";import l from"node:fs";import*as u from"node:path";import d from"node:path";import*as f from"node:fs/promises";import{randomUUID as p}from"node:crypto";function m(e){if(`PATH`in e)return`PATH`;for(let t of Object.keys(e))if(t.toUpperCase()===`PATH`)return t;return`PATH`}function h(e){if(!Array.isArray(e))return[];let t=new Set,n=[];for(let r of e){if(typeof r!=`string`)continue;let e=r.trim();!e||t.has(e)||(t.add(e),n.push(e))}return n}function g(e,t){if(t.length===0)return e;let n=(e??``).split(d.delimiter).map(e=>e.trim()).filter(Boolean),r=new Set(t);return[...t,...n.filter(e=>!r.has(e))].join(d.delimiter)}function _(e,t,n){if(!Array.isArray(t)||t.length===0)return;let r=m(e);if(n?.requireExisting&&!e[r])return;let i=g(e[r],t);i&&(e[r]=i)}function v(e,t){return String(t??``).trim().toLowerCase().startsWith(`win`)?[`cmd.exe`,`/d`,`/s`,`/c`,e]:[`/bin/sh`,`-lc`,e]}function y(e){return typeof e==`string`?e:``}function b(e,t){let n=i(e);return!n||n===t?null:n}function x(e){if(!e||typeof e!=`object`||Array.isArray(e))return null;let t=e,n=s(t.plan);if(n)return{plan:n};if(!t.plan||typeof t.plan!=`object`||Array.isArray(t.plan))return null;let r=t.plan,o=a(r.argv),c=i(r.rawCommand)??i(t.commandText)??i(t.cmdText);return o.length===0||!c?null:{plan:{argv:o,cwd:i(r.cwd),commandText:c,commandPreview:i(r.commandPreview),agentId:i(r.agentId),sessionKey:i(r.sessionKey)}}}function S(e){let t=(i(e.host)??``)===`node`?s(e.systemRunPlan):null,n=a(e.commandArgv),r=y(e.command),o=t?t.commandText||c(t.argv):r,l=t?b(t.commandPreview??r,o):null,u=t?{...t,commandPreview:l}:null;return{plan:u,commandArgv:u?.argv??(n.length>0?n:void 0),commandText:o,commandPreview:l,cwd:u?.cwd??i(e.cwd),agentId:u?.agentId??i(e.agentId),sessionKey:u?.sessionKey??i(e.sessionKey)}}function C(e){let t=s(e.plan??null);if(t)return{ok:!0,plan:t,argv:[...t.argv],cwd:t.cwd,agentId:t.agentId,sessionKey:t.sessionKey,commandText:t.commandText};let n=o({command:e.command,rawCommand:e.rawCommand});return n.ok?{ok:!0,plan:null,argv:n.argv,cwd:i(e.cwd),agentId:i(e.agentId),sessionKey:i(e.sessionKey),commandText:n.commandText}:{ok:!1,message:n.message,details:n.details}}function w(e){return typeof e==`object`&&e?e:{}}function T(e){return typeof e==`string`?e:void 0}function E(e){return typeof e==`number`&&Number.isFinite(e)?e:void 0}function D(e){return typeof e==`boolean`?e:void 0}function O(t){let n=t.tmpDir??e();return t.tmpDir||l.mkdirSync(n,{recursive:!0,mode:448}),{tmpDir:n,id:t.id??p(),ext:t.ext.startsWith(`.`)?t.ext:`.${t.ext}`}}const k=250*1024*1024;function A(e){let t=w(e),n=T(t.format),r=T(t.base64),i=T(t.url),a=E(t.width),o=E(t.height);if(!n||!r&&!i||a===void 0||o===void 0)throw Error(`invalid camera.snap payload`);return{format:n,...r?{base64:r}:{},...i?{url:i}:{},width:a,height:o}}function j(e){let t=w(e),n=T(t.format),r=T(t.base64),i=T(t.url),a=E(t.durationMs),o=D(t.hasAudio);if(!n||!r&&!i||a===void 0||o===void 0)throw Error(`invalid camera.clip payload`);return{format:n,...r?{base64:r}:{},...i?{url:i}:{},durationMs:a,hasAudio:o}}function M(e){let{tmpDir:t,id:r,ext:i}=O({tmpDir:e.tmpDir,id:e.id,ext:e.ext}),a=e.facing?`-${e.facing}`:``,o=n();return u.join(t,`${o}-camera-${e.kind}${a}-${r}${i}`)}async function N(e,n,i){let a=new URL(n);if(a.protocol!==`https:`)throw Error(`writeUrlToFile: only https URLs are allowed, got ${a.protocol}`);let o=t(i.expectedHost);if(!o)throw Error(`writeUrlToFile: expectedHost is required`);if(t(a.hostname)!==o)throw Error(`writeUrlToFile: url host ${a.hostname} must match node host ${i.expectedHost}`);let s={allowPrivateNetwork:!0,allowedHostnames:[o],hostnameAllowlist:[o]},c=async()=>{},l=0;try{let a=await r({url:n,auditContext:`writeUrlToFile`,policy:s});c=a.release;let u=new URL(a.finalUrl);if(u.protocol!==`https:`)throw Error(`writeUrlToFile: redirect resolved to non-https URL ${a.finalUrl}`);if(t(u.hostname)!==o)throw Error(`writeUrlToFile: redirect host ${u.hostname} must match node host ${i.expectedHost}`);let d=a.response;if(!d.ok)throw Error(`failed to download ${n}: ${d.status} ${d.statusText}`);let p=d.headers.get(`content-length`),m=p?Number.parseInt(p,10):void 0;if(typeof m==`number`&&Number.isFinite(m)&&m>k)throw Error(`writeUrlToFile: content-length ${m} exceeds max ${k}`);let h=d.body;if(!h)throw Error(`failed to download ${n}: empty response body`);let g=await f.open(e,`w`),_;try{let e=h.getReader();for(;;){let{done:t,value:n}=await e.read();if(t)break;if(!(!n||n.byteLength===0)){if(l+=n.byteLength,l>k)throw Error(`writeUrlToFile: downloaded ${l} bytes, exceeds max ${k}`);await g.write(n)}}}catch(e){_=e}finally{await g.close()}if(_)throw await f.unlink(e).catch(()=>{}),_}finally{await c()}return{path:e,bytes:l}}async function P(e,t){let n=Buffer.from(t,`base64`);return await f.writeFile(e,n),{path:e,bytes:n.length}}function F(e){let t=e?.trim();if(!t)throw Error(`camera URL payload requires node remoteIp`);return t}async function I(e){if(e.payload.url){await N(e.filePath,e.payload.url,{expectedHost:F(e.expectedHost)});return}if(e.payload.base64){await P(e.filePath,e.payload.base64);return}throw Error(e.invalidPayloadMessage??`invalid camera payload`)}async function L(e){let t=M({kind:`clip`,facing:e.facing,ext:e.payload.format,tmpDir:e.tmpDir,id:e.id});return await I({filePath:t,payload:e.payload,expectedHost:e.expectedHost,invalidPayloadMessage:`invalid camera.clip payload`}),t}function R(e){let t=w(e),n=T(t.format),r=T(t.base64);if(!n||!r)throw Error(`invalid canvas.snapshot payload`);return{format:n,base64:r}}function z(e){let{tmpDir:t,id:r,ext:i}=O(e),a=n();return u.join(t,`${a}-canvas-snapshot-${r}${i}`)}function B(e){if(!Array.isArray(e)||e.length===0)return;let t={};for(let n of e){if(typeof n!=`string`)continue;let e=n.indexOf(`=`);if(e<=0)continue;let r=n.slice(0,e).trim();r&&(t[r]=n.slice(e+1))}return Object.keys(t).length>0?t:void 0}function V(e){let t=w(e),n=T(t.format),r=T(t.base64);if(!n||!r)throw Error(`invalid screen.record payload`);return{format:n,base64:r,durationMs:typeof t.durationMs==`number`?t.durationMs:void 0,fps:typeof t.fps==`number`?t.fps:void 0,screenIndex:typeof t.screenIndex==`number`?t.screenIndex:void 0,hasAudio:typeof t.hasAudio==`boolean`?t.hasAudio:void 0}}function H(e){let{tmpDir:t,id:n,ext:r}=O(e);return u.join(t,`openclaw-screen-record-${n}${r}`)}async function U(e,t){return P(e,t)}export{_,z as a,h as b,j as c,L as d,I as f,v as g,C as h,B as i,A as l,S as m,H as n,R as o,x as p,U as r,M as s,V as t,P as u,m as v,g as y};
2
+ //# sourceMappingURL=nodes-screen-DECgxo6A.js.map
@@ -1,3 +1,4 @@
1
1
  import{d as e}from"./subsystem-C5XF2Fy5.js";import{r as t}from"./prompt-style-CXKekIBY.js";import{note as n}from"@clack/prompts";const r=/^(https?:\/\/|file:\/\/)/i,i=/^[a-zA-Z]:[\\/]/,a=/^[a-zA-Z0-9._-]+$/;function o(e){if(!e)return!1;let t=e.trim().toLowerCase();return t?t!==`0`&&t!==`false`&&t!==`off`:!1}function s(e,t){if(t<=0)return[e];let n=Array.from(e),r=[];for(let e=0;e<n.length;e+=t)r.push(n.slice(e,e+t).join(``));return r.length>0?r:[e]}function c(e){return e?r.test(e)||e.startsWith(`/`)||e.startsWith(`~/`)||e.startsWith(`./`)||e.startsWith(`../`)||i.test(e)||e.startsWith(`\\\\`)||e.includes(`/`)||e.includes(`\\`)?!0:e.includes(`_`)&&a.test(e):!1}function l(t,n){if(t.trim().length===0)return[t];let r=t.match(/^(\s*)([-*\u2022]\s+)?(.*)$/),i=r?.[1]??``,a=r?.[2]??``,o=r?.[3]??``,l=`${i}${a}`,u=`${i}${a?` `.repeat(a.length):``}`,d=Math.max(10,n-e(l)),f=Math.max(10,n-e(u)),p=o.split(/\s+/).filter(Boolean),m=[],h=``,g=l,_=d;for(let t of p){if(!h){if(e(t)>_){if(c(t)){h=t;continue}let e=s(t,_),n=e.shift()??``;m.push(g+n),g=u,_=f;for(let t of e)m.push(g+t);continue}h=t;continue}let n=`${h} ${t}`;if(e(n)<=_){h=n;continue}if(m.push(g+h),g=u,_=f,e(t)>_){if(c(t)){h=t;continue}let e=s(t,_),n=e.shift()??``;m.push(g+n);for(let t of e)m.push(g+t);h=``;continue}h=t}return(h||p.length===0)&&m.push(g+h),m}function u(e,t={}){let n=t.columns??process.stdout.columns??80,r=t.maxWidth??Math.max(40,Math.min(88,n-10));return e.split(`
2
2
  `).flatMap(e=>l(e,r)).join(`
3
3
  `)}function d(e,r){o(process.env.OPENCLAW_SUPPRESS_NOTES)||n(u(e),t(r))}export{d as t};
4
+ //# sourceMappingURL=note-D4GAwgha.js.map
@@ -1,3 +1,4 @@
1
1
  import{d as e}from"./subsystem-BLbY429l.js";import{r as t}from"./prompt-style-BThRSQJR.js";import{note as n}from"@clack/prompts";const r=/^(https?:\/\/|file:\/\/)/i,i=/^[a-zA-Z]:[\\/]/,a=/^[a-zA-Z0-9._-]+$/;function o(e){if(!e)return!1;let t=e.trim().toLowerCase();return t?t!==`0`&&t!==`false`&&t!==`off`:!1}function s(e,t){if(t<=0)return[e];let n=Array.from(e),r=[];for(let e=0;e<n.length;e+=t)r.push(n.slice(e,e+t).join(``));return r.length>0?r:[e]}function c(e){return e?r.test(e)||e.startsWith(`/`)||e.startsWith(`~/`)||e.startsWith(`./`)||e.startsWith(`../`)||i.test(e)||e.startsWith(`\\\\`)||e.includes(`/`)||e.includes(`\\`)?!0:e.includes(`_`)&&a.test(e):!1}function l(t,n){if(t.trim().length===0)return[t];let r=t.match(/^(\s*)([-*\u2022]\s+)?(.*)$/),i=r?.[1]??``,a=r?.[2]??``,o=r?.[3]??``,l=`${i}${a}`,u=`${i}${a?` `.repeat(a.length):``}`,d=Math.max(10,n-e(l)),f=Math.max(10,n-e(u)),p=o.split(/\s+/).filter(Boolean),m=[],h=``,g=l,_=d;for(let t of p){if(!h){if(e(t)>_){if(c(t)){h=t;continue}let e=s(t,_),n=e.shift()??``;m.push(g+n),g=u,_=f;for(let t of e)m.push(g+t);continue}h=t;continue}let n=`${h} ${t}`;if(e(n)<=_){h=n;continue}if(m.push(g+h),g=u,_=f,e(t)>_){if(c(t)){h=t;continue}let e=s(t,_),n=e.shift()??``;m.push(g+n);for(let t of e)m.push(g+t);h=``;continue}h=t}return(h||p.length===0)&&m.push(g+h),m}function u(e,t={}){let n=t.columns??process.stdout.columns??80,r=t.maxWidth??Math.max(40,Math.min(88,n-10));return e.split(`
2
2
  `).flatMap(e=>l(e,r)).join(`
3
3
  `)}function d(e,r){o(process.env.OPENCLAW_SUPPRESS_NOTES)||n(u(e),t(r))}export{d as t};
4
+ //# sourceMappingURL=note-Dp-d_utk.js.map
@@ -1 +1,2 @@
1
1
  import{y as e}from"./utils-UGOV_184.js";import{g as t,h as n,m as r}from"./env-overrides-DXJbFrwI.js";import{t as i}from"./exec-DHqLtFYt.js";import{c as a,d as o,n as s,s as c,t as l,u}from"./install-safe-path-iesxijn2.js";import d from"node:os";import f from"node:path";import p from"node:fs/promises";function m(e){return{resolvedName:e?.name,resolvedVersion:e?.version,resolvedSpec:e?.resolvedSpec,integrity:e?.integrity,shasum:e?.shasum,resolvedAt:e?.resolvedAt}}async function h(e,t){let n=await p.mkdtemp(f.join(d.tmpdir(),e));try{return await t(n)}finally{await p.rm(n,{recursive:!0,force:!0}).catch(()=>void 0)}}async function g(t){let n=e(t);return await a(n)?u(n)?{ok:!0,path:n}:{ok:!1,error:`unsupported archive: ${n}`}:{ok:!1,error:`archive not found: ${n}`}}function _(e){if(typeof e!=`string`)return;let t=e.trim();return t.length>0?t:void 0}function v(e){let t=e.lastIndexOf(`@`);if(t<=0||t>=e.length-1)return;let n=e.slice(0,t).trim(),r=e.slice(t+1).trim();if(!(!n||!r))return`${n}@${r}`}function y(e){if(!e||typeof e!=`object`)return null;let t=e,n=_(t.name),r=_(t.version),i=_(t.id),a=(n&&r?`${n}@${r}`:void 0)??(i?v(i):void 0);return{filename:_(t.filename),metadata:{name:n,version:r,resolvedSpec:a,integrity:_(t.integrity),shasum:_(t.shasum)}}}function b(e){let t=e.trim();if(!t)return null;let n=[t],r=t.indexOf(`[`);r>0&&n.push(t.slice(r));for(let e of n){let t;try{t=JSON.parse(e)}catch{continue}let n=Array.isArray(t)?t:[t],r=null;for(let e=n.length-1;e>=0;--e){let t=y(n[e]);if(t&&(r||=t,t.filename))return t}if(r)return r}return null}function x(e){let t=e.split(/\r?\n/).map(e=>e.trim()).filter(Boolean);for(let e=t.length-1;e>=0;--e){let n=t[e]?.match(/([^\s"']+\.tgz)/);if(n?.[1])return n[1]}}async function S(e){let t=(await p.readdir(e,{withFileTypes:!0}).catch(()=>[])).filter(e=>e.isFile()&&e.name.endsWith(`.tgz`));if(t.length===0)return;if(t.length===1)return t[0]?.name;let n=await Promise.all(t.map(async t=>({name:t.name,mtimeMs:(await p.stat(f.join(e,t.name))).mtimeMs})));return n.sort((e,t)=>t.mtimeMs-e.mtimeMs),n[0]?.name}async function C(e){let t=await i([`npm`,`pack`,e.spec,`--ignore-scripts`,`--json`],{timeoutMs:Math.max(e.timeoutMs,3e5),cwd:e.cwd,env:{COREPACK_ENABLE_DOWNLOAD_PROMPT:`0`,NPM_CONFIG_IGNORE_SCRIPTS:`true`}});if(t.code!==0){let n=t.stderr.trim()||t.stdout.trim();return/E404|is not in this registry/i.test(n)?{ok:!1,error:`Package not found on npm: ${e.spec}. See https://docs.openclaw.ai/tools/plugin for installable plugins.`}:{ok:!1,error:`npm pack failed: ${n}`}}let n=b(t.stdout||``),r=n?.filename??x(t.stdout||``);if(r||=await S(e.cwd),!r)return{ok:!1,error:`npm pack produced no archive`};let o=f.isAbsolute(r)?r:f.join(e.cwd,r);if(!await a(o)){let t=await S(e.cwd);if(!t)return{ok:!1,error:`npm pack produced no archive`};o=f.join(e.cwd,t)}return{ok:!0,archivePath:o,metadata:n?.metadata??{}}}async function w(t){let n=e(t);return await a(n)?{ok:!0,resolvedPath:n,stat:await p.stat(n)}:{ok:!1,error:`path not found: ${n}`}}async function T(e){return await h(e.tempDirPrefix,async t=>{let n=f.join(t,`extract`);await p.mkdir(n,{recursive:!0}),e.logger?.info?.(`Extracting ${e.archivePath}…`);try{await c({archivePath:e.archivePath,destDir:n,timeoutMs:e.timeoutMs,logger:e.logger})}catch(e){return{ok:!1,error:`failed to extract archive: ${String(e)}`}}let r=``;try{r=await o(n)}catch(e){return{ok:!1,error:String(e)}}return await e.onExtracted(r)})}function E(e,t){return{logger:e.logger??t,mode:e.mode??`install`,dryRun:e.dryRun??!1}}function D(e,t,n=12e4){return{...E(e,t),timeoutMs:e.timeoutMs??n}}const O=`install base directory changed during install`;function k(e){return!!e&&typeof e==`object`&&!Array.isArray(e)}async function A(e){let t=f.join(e,`package.json`),n=``;try{n=await p.readFile(t,`utf-8`)}catch{return}let r;try{let e=JSON.parse(n);if(!k(e))return;r=e}catch{return}let i=r.devDependencies;if(!k(i))return;let a=Object.entries(i).filter(([,e])=>!(typeof e==`string`?e.trim():``).startsWith(`workspace:`));a.length!==Object.keys(i).length&&(a.length===0?delete r.devDependencies:r.devDependencies=Object.fromEntries(a),await p.writeFile(t,`${JSON.stringify(r,null,2)}\n`,`utf-8`))}async function j(e){for(let t of e.candidatePaths)await l({baseDir:e.installBaseDir,candidatePath:t,boundaryLabel:`install directory`})}function M(e){return!!e&&e!==`..`&&!e.startsWith(`..${f.sep}`)}function N(e){return e instanceof Error&&e.message===O}async function P(e){let t=await p.lstat(e.installBaseDir);if(!t.isDirectory()||t.isSymbolicLink()||await p.realpath(e.installBaseDir)!==e.expectedRealPath)throw Error(O)}async function F(e){e&&await p.rm(e,{recursive:!0,force:!0}).catch(()=>void 0)}async function I(e){let t=f.resolve(e.installBaseDir),n=f.resolve(e.targetDir),r=f.relative(t,n);if(!M(r))throw Error(`invalid install target path`);let i=await p.realpath(e.installBaseDir);return{installBaseRealPath:i,canonicalTargetDir:f.join(i,r)}}async function L(e){e.logger?.info?.(`Installing to ${e.targetDir}…`);let t=f.dirname(e.targetDir);await p.mkdir(t,{recursive:!0}),await j({installBaseDir:t,candidatePaths:[e.targetDir]});let n,r;try{({installBaseRealPath:n,canonicalTargetDir:r}=await I({installBaseDir:t,targetDir:e.targetDir}))}catch(t){return{ok:!1,error:`${e.copyErrorPrefix}: ${String(t)}`}}let o=null,s=null,c=async(t,n)=>(N(n)?e.logger?.warn?.(`Install base directory changed during install; aborting staged publish.`):(await l(),o&&=(await F(o),null)),{ok:!1,error:t}),l=async()=>{s&&=(await p.rename(s,r).catch(()=>void 0),null)};try{await j({installBaseDir:n,candidatePaths:[r]}),o=await p.mkdtemp(f.join(n,`.openclaw-install-stage-`)),await p.cp(e.sourceDir,o,{recursive:!0})}catch(t){return await c(`${e.copyErrorPrefix}: ${String(t)}`,t)}try{await e.afterCopy?.(o)}catch(e){return await c(`post-copy validation failed: ${String(e)}`,e)}if(e.hasDeps){await A(o),e.logger?.info?.(e.depsLogMessage);let t=await i([`npm`,`install`,`--omit=dev`,`--omit=peer`,`--silent`,`--ignore-scripts`],{timeoutMs:Math.max(e.timeoutMs,3e5),cwd:o});if(t.code!==0)return await c(`npm install failed: ${t.stderr.trim()||t.stdout.trim()}`)}if(e.mode===`update`&&await a(r)){let i=f.join(n,`.openclaw-install-backups`);s=f.join(i,`${f.basename(r)}-${Date.now()}`);try{await p.mkdir(i,{recursive:!0}),await j({installBaseDir:n,candidatePaths:[s]}),await P({installBaseDir:t,expectedRealPath:n}),await p.rename(r,s)}catch(t){return await c(`${e.copyErrorPrefix}: ${String(t)}`,t)}}try{await P({installBaseDir:t,expectedRealPath:n}),await p.rename(o,r),o=null}catch(t){return await c(`${e.copyErrorPrefix}: ${String(t)}`,t)}if(s)try{await P({installBaseDir:t,expectedRealPath:n})}catch(t){N(t)&&e.logger?.warn?.(`Install base directory changed before backup cleanup; leaving backup in place.`),s=null}return s&&await p.rm(s,{recursive:!0,force:!0}).catch(()=>void 0),o&&await F(o),{ok:!0}}async function R(e){return L({...e,hasDeps:Object.keys(e.manifestDependencies??{}).length>0})}async function z(e){await p.mkdir(e.baseDir,{recursive:!0});let t=s({baseDir:e.baseDir,id:e.id,invalidNameMessage:e.invalidNameMessage});if(!t.ok)return{ok:!1,error:t.error};try{await l({baseDir:e.baseDir,candidatePath:t.path,boundaryLabel:e.boundaryLabel})}catch(e){return{ok:!1,error:e instanceof Error?e.message:String(e)}}return{ok:!0,targetDir:t.path}}async function B(e){return e.mode===`install`&&await a(e.targetDir)?{ok:!1,error:e.alreadyExistsError}:{ok:!0}}async function V(e){if(!e.expectedIntegrity||!e.resolution.integrity||e.expectedIntegrity===e.resolution.integrity)return{proceed:!0};let t={expectedIntegrity:e.expectedIntegrity,actualIntegrity:e.resolution.integrity},n=e.createPayload({spec:e.spec,expectedIntegrity:t.expectedIntegrity,actualIntegrity:t.actualIntegrity,resolution:e.resolution}),r=!0;return e.onIntegrityDrift?r=await e.onIntegrityDrift(n):e.warn?.(n),{integrityDrift:t,proceed:r,payload:n}}async function H(e){let t=await V({spec:e.spec,expectedIntegrity:e.expectedIntegrity,resolution:e.resolution,createPayload:e=>({...e}),onIntegrityDrift:e.onIntegrityDrift,warn:t=>{e.warn?.(`Integrity drift detected for ${t.resolution.resolvedSpec??t.spec}: expected ${t.expectedIntegrity}, got ${t.actualIntegrity}`)}});return!t.proceed&&t.payload?{integrityDrift:t.integrityDrift,error:`aborted: npm package integrity drift detected for ${t.payload.resolution.resolvedSpec??t.payload.spec}`}:{integrityDrift:t.integrityDrift}}async function U(e){return await K({tempDirPrefix:e.tempDirPrefix,spec:e.spec,timeoutMs:e.timeoutMs,expectedIntegrity:e.expectedIntegrity,onIntegrityDrift:e.onIntegrityDrift,warn:e.warn,installFromArchive:async({archivePath:t})=>await e.installFromArchive({archivePath:t,...e.archiveInstallParams})})}function W(e){return e.ok}function G(e){if(!e.ok)return e;let t=e.installResult;return W(t)?{...t,npmResolution:e.npmResolution,...e.integrityDrift?{integrityDrift:e.integrityDrift}:{}}:t}async function K(e){return await h(e.tempDirPrefix,async i=>{let a=t(e.spec);if(!a)return{ok:!1,error:`unsupported npm spec`};let o=await C({spec:e.spec,timeoutMs:e.timeoutMs,cwd:i});if(!o.ok)return o;let s={...o.metadata,resolvedAt:new Date().toISOString()};if(s.version&&!n({spec:a,resolvedVersion:s.version}))return{ok:!1,error:r({spec:a,resolvedVersion:s.version})};let c=await H({spec:e.spec,expectedIntegrity:e.expectedIntegrity,resolution:s,onIntegrityDrift:e.onIntegrityDrift,warn:e.warn});return c.error?{ok:!1,error:c.error}:{ok:!0,installResult:await e.installFromArchive({archivePath:o.archivePath}),npmResolution:s,integrityDrift:c.integrityDrift}})}export{L as a,D as c,m as d,g as f,z as i,w as l,U as n,R as o,B as r,E as s,G as t,T as u};
2
+ //# sourceMappingURL=npm-pack-install-B23L-AtF.js.map
@@ -1 +1,2 @@
1
1
  import{v as e}from"./utils-CGdo13HV.js";import{g as t,h as n,m as r}from"./env-overrides-DHtB4kK3.js";import{t as i}from"./exec-B3eleY5O.js";import{c as a,d as o,n as s,s as c,t as l,u}from"./install-safe-path-C6kc_8NW.js";import d from"node:os";import f from"node:path";import p from"node:fs/promises";function m(e){return{resolvedName:e?.name,resolvedVersion:e?.version,resolvedSpec:e?.resolvedSpec,integrity:e?.integrity,shasum:e?.shasum,resolvedAt:e?.resolvedAt}}async function h(e,t){let n=await p.mkdtemp(f.join(d.tmpdir(),e));try{return await t(n)}finally{await p.rm(n,{recursive:!0,force:!0}).catch(()=>void 0)}}async function g(t){let n=e(t);return await a(n)?u(n)?{ok:!0,path:n}:{ok:!1,error:`unsupported archive: ${n}`}:{ok:!1,error:`archive not found: ${n}`}}function _(e){if(typeof e!=`string`)return;let t=e.trim();return t.length>0?t:void 0}function v(e){let t=e.lastIndexOf(`@`);if(t<=0||t>=e.length-1)return;let n=e.slice(0,t).trim(),r=e.slice(t+1).trim();if(!(!n||!r))return`${n}@${r}`}function y(e){if(!e||typeof e!=`object`)return null;let t=e,n=_(t.name),r=_(t.version),i=_(t.id),a=(n&&r?`${n}@${r}`:void 0)??(i?v(i):void 0);return{filename:_(t.filename),metadata:{name:n,version:r,resolvedSpec:a,integrity:_(t.integrity),shasum:_(t.shasum)}}}function b(e){let t=e.trim();if(!t)return null;let n=[t],r=t.indexOf(`[`);r>0&&n.push(t.slice(r));for(let e of n){let t;try{t=JSON.parse(e)}catch{continue}let n=Array.isArray(t)?t:[t],r=null;for(let e=n.length-1;e>=0;--e){let t=y(n[e]);if(t&&(r||=t,t.filename))return t}if(r)return r}return null}function x(e){let t=e.split(/\r?\n/).map(e=>e.trim()).filter(Boolean);for(let e=t.length-1;e>=0;--e){let n=t[e]?.match(/([^\s"']+\.tgz)/);if(n?.[1])return n[1]}}async function S(e){let t=(await p.readdir(e,{withFileTypes:!0}).catch(()=>[])).filter(e=>e.isFile()&&e.name.endsWith(`.tgz`));if(t.length===0)return;if(t.length===1)return t[0]?.name;let n=await Promise.all(t.map(async t=>({name:t.name,mtimeMs:(await p.stat(f.join(e,t.name))).mtimeMs})));return n.sort((e,t)=>t.mtimeMs-e.mtimeMs),n[0]?.name}async function C(e){let t=await i([`npm`,`pack`,e.spec,`--ignore-scripts`,`--json`],{timeoutMs:Math.max(e.timeoutMs,3e5),cwd:e.cwd,env:{COREPACK_ENABLE_DOWNLOAD_PROMPT:`0`,NPM_CONFIG_IGNORE_SCRIPTS:`true`}});if(t.code!==0){let n=t.stderr.trim()||t.stdout.trim();return/E404|is not in this registry/i.test(n)?{ok:!1,error:`Package not found on npm: ${e.spec}. See https://docs.openclaw.ai/tools/plugin for installable plugins.`}:{ok:!1,error:`npm pack failed: ${n}`}}let n=b(t.stdout||``),r=n?.filename??x(t.stdout||``);if(r||=await S(e.cwd),!r)return{ok:!1,error:`npm pack produced no archive`};let o=f.isAbsolute(r)?r:f.join(e.cwd,r);if(!await a(o)){let t=await S(e.cwd);if(!t)return{ok:!1,error:`npm pack produced no archive`};o=f.join(e.cwd,t)}return{ok:!0,archivePath:o,metadata:n?.metadata??{}}}async function w(t){let n=e(t);return await a(n)?{ok:!0,resolvedPath:n,stat:await p.stat(n)}:{ok:!1,error:`path not found: ${n}`}}async function T(e){return await h(e.tempDirPrefix,async t=>{let n=f.join(t,`extract`);await p.mkdir(n,{recursive:!0}),e.logger?.info?.(`Extracting ${e.archivePath}…`);try{await c({archivePath:e.archivePath,destDir:n,timeoutMs:e.timeoutMs,logger:e.logger})}catch(e){return{ok:!1,error:`failed to extract archive: ${String(e)}`}}let r=``;try{r=await o(n)}catch(e){return{ok:!1,error:String(e)}}return await e.onExtracted(r)})}function E(e,t){return{logger:e.logger??t,mode:e.mode??`install`,dryRun:e.dryRun??!1}}function D(e,t,n=12e4){return{...E(e,t),timeoutMs:e.timeoutMs??n}}const O=`install base directory changed during install`;function k(e){return!!e&&typeof e==`object`&&!Array.isArray(e)}async function A(e){let t=f.join(e,`package.json`),n=``;try{n=await p.readFile(t,`utf-8`)}catch{return}let r;try{let e=JSON.parse(n);if(!k(e))return;r=e}catch{return}let i=r.devDependencies;if(!k(i))return;let a=Object.entries(i).filter(([,e])=>!(typeof e==`string`?e.trim():``).startsWith(`workspace:`));a.length!==Object.keys(i).length&&(a.length===0?delete r.devDependencies:r.devDependencies=Object.fromEntries(a),await p.writeFile(t,`${JSON.stringify(r,null,2)}\n`,`utf-8`))}async function j(e){for(let t of e.candidatePaths)await l({baseDir:e.installBaseDir,candidatePath:t,boundaryLabel:`install directory`})}function M(e){return!!e&&e!==`..`&&!e.startsWith(`..${f.sep}`)}function N(e){return e instanceof Error&&e.message===O}async function P(e){let t=await p.lstat(e.installBaseDir);if(!t.isDirectory()||t.isSymbolicLink()||await p.realpath(e.installBaseDir)!==e.expectedRealPath)throw Error(O)}async function F(e){e&&await p.rm(e,{recursive:!0,force:!0}).catch(()=>void 0)}async function I(e){let t=f.resolve(e.installBaseDir),n=f.resolve(e.targetDir),r=f.relative(t,n);if(!M(r))throw Error(`invalid install target path`);let i=await p.realpath(e.installBaseDir);return{installBaseRealPath:i,canonicalTargetDir:f.join(i,r)}}async function L(e){e.logger?.info?.(`Installing to ${e.targetDir}…`);let t=f.dirname(e.targetDir);await p.mkdir(t,{recursive:!0}),await j({installBaseDir:t,candidatePaths:[e.targetDir]});let n,r;try{({installBaseRealPath:n,canonicalTargetDir:r}=await I({installBaseDir:t,targetDir:e.targetDir}))}catch(t){return{ok:!1,error:`${e.copyErrorPrefix}: ${String(t)}`}}let o=null,s=null,c=async(t,n)=>(N(n)?e.logger?.warn?.(`Install base directory changed during install; aborting staged publish.`):(await l(),o&&=(await F(o),null)),{ok:!1,error:t}),l=async()=>{s&&=(await p.rename(s,r).catch(()=>void 0),null)};try{await j({installBaseDir:n,candidatePaths:[r]}),o=await p.mkdtemp(f.join(n,`.openclaw-install-stage-`)),await p.cp(e.sourceDir,o,{recursive:!0})}catch(t){return await c(`${e.copyErrorPrefix}: ${String(t)}`,t)}try{await e.afterCopy?.(o)}catch(e){return await c(`post-copy validation failed: ${String(e)}`,e)}if(e.hasDeps){await A(o),e.logger?.info?.(e.depsLogMessage);let t=await i([`npm`,`install`,`--omit=dev`,`--omit=peer`,`--silent`,`--ignore-scripts`],{timeoutMs:Math.max(e.timeoutMs,3e5),cwd:o});if(t.code!==0)return await c(`npm install failed: ${t.stderr.trim()||t.stdout.trim()}`)}if(e.mode===`update`&&await a(r)){let i=f.join(n,`.openclaw-install-backups`);s=f.join(i,`${f.basename(r)}-${Date.now()}`);try{await p.mkdir(i,{recursive:!0}),await j({installBaseDir:n,candidatePaths:[s]}),await P({installBaseDir:t,expectedRealPath:n}),await p.rename(r,s)}catch(t){return await c(`${e.copyErrorPrefix}: ${String(t)}`,t)}}try{await P({installBaseDir:t,expectedRealPath:n}),await p.rename(o,r),o=null}catch(t){return await c(`${e.copyErrorPrefix}: ${String(t)}`,t)}if(s)try{await P({installBaseDir:t,expectedRealPath:n})}catch(t){N(t)&&e.logger?.warn?.(`Install base directory changed before backup cleanup; leaving backup in place.`),s=null}return s&&await p.rm(s,{recursive:!0,force:!0}).catch(()=>void 0),o&&await F(o),{ok:!0}}async function R(e){return L({...e,hasDeps:Object.keys(e.manifestDependencies??{}).length>0})}async function z(e){await p.mkdir(e.baseDir,{recursive:!0});let t=s({baseDir:e.baseDir,id:e.id,invalidNameMessage:e.invalidNameMessage});if(!t.ok)return{ok:!1,error:t.error};try{await l({baseDir:e.baseDir,candidatePath:t.path,boundaryLabel:e.boundaryLabel})}catch(e){return{ok:!1,error:e instanceof Error?e.message:String(e)}}return{ok:!0,targetDir:t.path}}async function B(e){return e.mode===`install`&&await a(e.targetDir)?{ok:!1,error:e.alreadyExistsError}:{ok:!0}}async function V(e){if(!e.expectedIntegrity||!e.resolution.integrity||e.expectedIntegrity===e.resolution.integrity)return{proceed:!0};let t={expectedIntegrity:e.expectedIntegrity,actualIntegrity:e.resolution.integrity},n=e.createPayload({spec:e.spec,expectedIntegrity:t.expectedIntegrity,actualIntegrity:t.actualIntegrity,resolution:e.resolution}),r=!0;return e.onIntegrityDrift?r=await e.onIntegrityDrift(n):e.warn?.(n),{integrityDrift:t,proceed:r,payload:n}}async function H(e){let t=await V({spec:e.spec,expectedIntegrity:e.expectedIntegrity,resolution:e.resolution,createPayload:e=>({...e}),onIntegrityDrift:e.onIntegrityDrift,warn:t=>{e.warn?.(`Integrity drift detected for ${t.resolution.resolvedSpec??t.spec}: expected ${t.expectedIntegrity}, got ${t.actualIntegrity}`)}});return!t.proceed&&t.payload?{integrityDrift:t.integrityDrift,error:`aborted: npm package integrity drift detected for ${t.payload.resolution.resolvedSpec??t.payload.spec}`}:{integrityDrift:t.integrityDrift}}async function U(e){return await K({tempDirPrefix:e.tempDirPrefix,spec:e.spec,timeoutMs:e.timeoutMs,expectedIntegrity:e.expectedIntegrity,onIntegrityDrift:e.onIntegrityDrift,warn:e.warn,installFromArchive:async({archivePath:t})=>await e.installFromArchive({archivePath:t,...e.archiveInstallParams})})}function W(e){return e.ok}function G(e){if(!e.ok)return e;let t=e.installResult;return W(t)?{...t,npmResolution:e.npmResolution,...e.integrityDrift?{integrityDrift:e.integrityDrift}:{}}:t}async function K(e){return await h(e.tempDirPrefix,async i=>{let a=t(e.spec);if(!a)return{ok:!1,error:`unsupported npm spec`};let o=await C({spec:e.spec,timeoutMs:e.timeoutMs,cwd:i});if(!o.ok)return o;let s={...o.metadata,resolvedAt:new Date().toISOString()};if(s.version&&!n({spec:a,resolvedVersion:s.version}))return{ok:!1,error:r({spec:a,resolvedVersion:s.version})};let c=await H({spec:e.spec,expectedIntegrity:e.expectedIntegrity,resolution:s,onIntegrityDrift:e.onIntegrityDrift,warn:e.warn});return c.error?{ok:!1,error:c.error}:{ok:!0,installResult:await e.installFromArchive({archivePath:o.archivePath}),npmResolution:s,integrityDrift:c.integrityDrift}})}export{L as a,D as c,m as d,g as f,z as i,w as l,U as n,R as o,B as r,E as s,G as t,T as u};
2
+ //# sourceMappingURL=npm-pack-install-C0te3Oap.js.map
@@ -1 +1,2 @@
1
1
  import{t as e}from"./subsystem-BLbY429l.js";import{jo as t}from"./auth-profiles-T8DuH3ax.js";import{d as n,f as r,j as i}from"./agent-scope-DAWJwFfl.js";import{c as a,l as o}from"./compact-Dg66DXx_.js";import{d as s}from"./npm-pack-install-C0te3Oap.js";import c from"node:path";const l=e(`plugins`);function u(e){let s=e?.config??t(),c=e?.workspaceDir?e.workspaceDir:n(s,r(s))??i();return{workspaceDir:c,...o({config:s,workspaceDir:c,logger:a(l)})}}function d(e,t){return e.startsWith(`.`)||e.startsWith(`~`)||c.isAbsolute(e)||t.some(t=>e.endsWith(t))}function f(e){let t=e.pin&&e.resolvedSpec?e.resolvedSpec:e.rawSpec;return e.pin?e.resolvedSpec?{recordSpec:t,pinNotice:`Pinned npm install record to ${e.resolvedSpec}.`}:{recordSpec:t,pinWarning:`Could not resolve exact npm version for --pin; storing original npm spec.`}:{recordSpec:t}}function p(e){return{source:`npm`,spec:e.spec,installPath:e.installPath,version:e.version,...s(e.resolution)}}function m(e){let t=f({rawSpec:e.rawSpec,pin:e.pin,resolvedSpec:e.resolution?.resolvedSpec});return g(t,e.log,e.warn),p({spec:t.recordSpec,installPath:e.installPath,version:e.version,resolution:e.resolution})}function h(e,t,n,r,i,a,o){return m({rawSpec:e,pin:t,installPath:n,version:r,resolution:i,log:a,warn:e=>a(o(e))})}function g(e,t,n){e.pinWarning&&n(e.pinWarning),e.pinNotice&&t(e.pinNotice)}export{u as i,h as n,d as r,p as t};
2
+ //# sourceMappingURL=npm-resolution-BnJGLwhi.js.map
@@ -1 +1,2 @@
1
1
  import{t as e}from"./subsystem-C5XF2Fy5.js";import{qs as t}from"./model-selection-BlC_rXAN.js";import{at as n,ot as r}from"./reply-l-Y47HP4.js";import{d as i,f as a,j as o}from"./agent-scope-DXZc3eNT.js";import{d as s}from"./npm-pack-install-B23L-AtF.js";import c from"node:path";const l=e(`plugins`);function u(e){let s=e?.config??t(),c=e?.workspaceDir?e.workspaceDir:i(s,a(s))??o();return{workspaceDir:c,...r({config:s,workspaceDir:c,logger:n(l)})}}function d(e,t){return e.startsWith(`.`)||e.startsWith(`~`)||c.isAbsolute(e)||t.some(t=>e.endsWith(t))}function f(e){let t=e.pin&&e.resolvedSpec?e.resolvedSpec:e.rawSpec;return e.pin?e.resolvedSpec?{recordSpec:t,pinNotice:`Pinned npm install record to ${e.resolvedSpec}.`}:{recordSpec:t,pinWarning:`Could not resolve exact npm version for --pin; storing original npm spec.`}:{recordSpec:t}}function p(e){return{source:`npm`,spec:e.spec,installPath:e.installPath,version:e.version,...s(e.resolution)}}function m(e){let t=f({rawSpec:e.rawSpec,pin:e.pin,resolvedSpec:e.resolution?.resolvedSpec});return g(t,e.log,e.warn),p({spec:t.recordSpec,installPath:e.installPath,version:e.version,resolution:e.resolution})}function h(e,t,n,r,i,a,o){return m({rawSpec:e,pin:t,installPath:n,version:r,resolution:i,log:a,warn:e=>a(o(e))})}function g(e,t,n){e.pinWarning&&n(e.pinWarning),e.pinNotice&&t(e.pinNotice)}export{u as i,h as n,d as r,p as t};
2
+ //# sourceMappingURL=npm-resolution-DWPloph4.js.map
@@ -1 +1,2 @@
1
1
  import{r as e}from"./wsl-DHxB2Ew_.js";function t(e){if(!e||typeof e!=`object`||!(`fallbacks`in e))return;let t=e.fallbacks;return Array.isArray(t)?t.map(e=>String(e)):void 0}function n(e,t){return{...e,agents:{...e.agents,defaults:{...e.agents?.defaults,models:t.agentModels}},models:{mode:e.models?.mode??`merge`,providers:t.providers}}}function r(e,n){let r=t(e.agents?.defaults?.model);return{...e,agents:{...e.agents,defaults:{...e.agents?.defaults,model:{...r?{fallbacks:r}:void 0,primary:n}}}}}function i(e,t){let n=s(e,t.providerId),r=t.defaultModels,i=t.defaultModelId??r[0]?.id,a=i?n.existingModels.some(e=>e.id===i):!0,o=n.existingModels.length>0?a||r.length===0?n.existingModels:[...n.existingModels,...r]:r;return c(e,{agentModels:t.agentModels,providerId:t.providerId,providerState:n,api:t.api,baseUrl:t.baseUrl,mergedModels:o,fallbackModels:r})}function a(e,t){return i(e,{agentModels:t.agentModels,providerId:t.providerId,api:t.api,baseUrl:t.baseUrl,defaultModels:[t.defaultModel],defaultModelId:t.defaultModelId??t.defaultModel.id})}function o(e,t){let n=s(e,t.providerId),r=t.catalogModels,i=n.existingModels.length>0?[...n.existingModels,...r.filter(e=>!n.existingModels.some(t=>t.id===e.id))]:r;return c(e,{agentModels:t.agentModels,providerId:t.providerId,providerState:n,api:t.api,baseUrl:t.baseUrl,mergedModels:i,fallbackModels:r})}function s(e,t){let n={...e.models?.providers},r=n[t];return{providers:n,existingProvider:r,existingModels:Array.isArray(r?.models)?r.models:[]}}function c(e,t){return t.providerState.providers[t.providerId]=l({existingProvider:t.providerState.existingProvider,api:t.api,baseUrl:t.baseUrl,mergedModels:t.mergedModels,fallbackModels:t.fallbackModels}),n(e,{agentModels:t.agentModels,providers:t.providerState.providers})}function l(e){let{apiKey:t,...n}=e.existingProvider??{},r=typeof t==`string`?t.trim():void 0;return{...n,baseUrl:e.baseUrl,api:e.api,...r?{apiKey:r}:{},models:e.mergedModels.length>0?e.mergedModels:e.fallbackModels}}function u(){return!!(process.env.SSH_CLIENT||process.env.SSH_TTY||process.env.SSH_CONNECTION||process.env.REMOTE_CONTAINERS||process.env.CODESPACES||process.platform===`linux`&&!process.env.DISPLAY&&!process.env.WAYLAND_DISPLAY&&!e())}export{i as a,a as i,r as n,o,n as r,u as t};
2
+ //# sourceMappingURL=oauth-env-DAamJ1oz.js.map
@@ -1 +1,2 @@
1
1
  import{r as e}from"./wsl-Ok7GaSJ6.js";function t(e){if(!e||typeof e!=`object`||!(`fallbacks`in e))return;let t=e.fallbacks;return Array.isArray(t)?t.map(e=>String(e)):void 0}function n(e,t){return{...e,agents:{...e.agents,defaults:{...e.agents?.defaults,models:t.agentModels}},models:{mode:e.models?.mode??`merge`,providers:t.providers}}}function r(e,n){let r=t(e.agents?.defaults?.model);return{...e,agents:{...e.agents,defaults:{...e.agents?.defaults,model:{...r?{fallbacks:r}:void 0,primary:n}}}}}function i(e,t){let n=s(e,t.providerId),r=t.defaultModels,i=t.defaultModelId??r[0]?.id,a=i?n.existingModels.some(e=>e.id===i):!0,o=n.existingModels.length>0?a||r.length===0?n.existingModels:[...n.existingModels,...r]:r;return c(e,{agentModels:t.agentModels,providerId:t.providerId,providerState:n,api:t.api,baseUrl:t.baseUrl,mergedModels:o,fallbackModels:r})}function a(e,t){return i(e,{agentModels:t.agentModels,providerId:t.providerId,api:t.api,baseUrl:t.baseUrl,defaultModels:[t.defaultModel],defaultModelId:t.defaultModelId??t.defaultModel.id})}function o(e,t){let n=s(e,t.providerId),r=t.catalogModels,i=n.existingModels.length>0?[...n.existingModels,...r.filter(e=>!n.existingModels.some(t=>t.id===e.id))]:r;return c(e,{agentModels:t.agentModels,providerId:t.providerId,providerState:n,api:t.api,baseUrl:t.baseUrl,mergedModels:i,fallbackModels:r})}function s(e,t){let n={...e.models?.providers},r=n[t];return{providers:n,existingProvider:r,existingModels:Array.isArray(r?.models)?r.models:[]}}function c(e,t){return t.providerState.providers[t.providerId]=l({existingProvider:t.providerState.existingProvider,api:t.api,baseUrl:t.baseUrl,mergedModels:t.mergedModels,fallbackModels:t.fallbackModels}),n(e,{agentModels:t.agentModels,providers:t.providerState.providers})}function l(e){let{apiKey:t,...n}=e.existingProvider??{},r=typeof t==`string`?t.trim():void 0;return{...n,baseUrl:e.baseUrl,api:e.api,...r?{apiKey:r}:{},models:e.mergedModels.length>0?e.mergedModels:e.fallbackModels}}function u(){return!!(process.env.SSH_CLIENT||process.env.SSH_TTY||process.env.SSH_CONNECTION||process.env.REMOTE_CONTAINERS||process.env.CODESPACES||process.platform===`linux`&&!process.env.DISPLAY&&!process.env.WAYLAND_DISPLAY&&!e())}export{i as a,a as i,r as n,o,n as r,u as t};
2
+ //# sourceMappingURL=oauth-env-DSLBTWb1.js.map
@@ -1,3 +1,4 @@
1
1
  import{t as e}from"./command-format-CLxIPuLR.js";import{t}from"./note-Dp-d_utk.js";import n from"node:path";const r=new Set([`UNABLE_TO_GET_ISSUER_CERT_LOCALLY`,`UNABLE_TO_VERIFY_LEAF_SIGNATURE`,`CERT_HAS_EXPIRED`,`DEPTH_ZERO_SELF_SIGNED_CERT`,`SELF_SIGNED_CERT_IN_CHAIN`,`ERR_TLS_CERT_ALTNAME_INVALID`]),i=[/unable to get local issuer certificate/i,/unable to verify the first certificate/i,/self[- ]signed certificate/i,/certificate has expired/i];function a(e){return e&&typeof e==`object`?e:null}function o(e){let t=a(e),n=a(t?.cause),o=typeof n?.code==`string`?n.code:void 0,s=typeof n?.message==`string`?n.message:typeof t?.message==`string`?t.message:String(e);return{code:o,message:s,kind:o&&r.has(o)||i.some(e=>e.test(s))?`tls-cert`:`network`}}function s(e){let t=`${n.sep}Cellar${n.sep}`,r=e.indexOf(t);return r>0?e.slice(0,r):process.env.HOMEBREW_PREFIX?.trim()||null}function c(){let e=s(process.execPath);return e?n.join(e,`etc`,`openssl@3`,`cert.pem`):null}function l(e){let t=e.auth?.profiles;return t?Object.values(t).some(e=>e.provider===`openai-codex`&&e.mode===`oauth`):!1}function u(e){return e.deep===!0?!0:l(e.cfg)}async function d(e){let t=e?.timeoutMs??5e3,n=e?.fetchImpl??fetch;try{return await n(`https://auth.openai.com/oauth/authorize?response_type=code&client_id=openclaw-preflight&redirect_uri=http%3A%2F%2Flocalhost%3A1455%2Fauth%2Fcallback&scope=openid+profile+email`,{method:`GET`,redirect:`manual`,signal:AbortSignal.timeout(t)}),{ok:!0}}catch(e){let t=o(e);return{ok:!1,kind:t.kind,code:t.code,message:t.message}}}function f(t){if(t.kind!==`tls-cert`)return[`OpenAI OAuth prerequisites check failed due to a network error before the browser flow.`,`Cause: ${t.message}`,`Verify DNS/firewall/proxy access to auth.openai.com and retry.`].join(`
2
2
  `);let n=c(),r=[`OpenAI OAuth prerequisites check failed: Node/OpenSSL cannot validate TLS certificates.`,`Cause: ${t.code?`${t.code} (${t.message})`:t.message}`,``,`Fix (Homebrew Node/OpenSSL):`,`- ${e(`brew postinstall ca-certificates`)}`,`- ${e(`brew postinstall openssl@3`)}`];return n&&r.push(`- Verify cert bundle exists: ${n}`),r.push(`- Retry the OAuth login flow.`),r.join(`
3
3
  `)}async function p(e){if(!u(e))return;let n=await d({timeoutMs:4e3});n.ok||n.kind!==`tls-cert`||t(f(n),`OAuth TLS prerequisites`)}export{p as n,d as r,f as t};
4
+ //# sourceMappingURL=oauth-tls-preflight-BSBRDIfC.js.map
@@ -1,3 +1,4 @@
1
1
  import{t as e}from"./command-format-BbDT1tlm.js";import{t}from"./note-D4GAwgha.js";import n from"node:path";const r=new Set([`UNABLE_TO_GET_ISSUER_CERT_LOCALLY`,`UNABLE_TO_VERIFY_LEAF_SIGNATURE`,`CERT_HAS_EXPIRED`,`DEPTH_ZERO_SELF_SIGNED_CERT`,`SELF_SIGNED_CERT_IN_CHAIN`,`ERR_TLS_CERT_ALTNAME_INVALID`]),i=[/unable to get local issuer certificate/i,/unable to verify the first certificate/i,/self[- ]signed certificate/i,/certificate has expired/i];function a(e){return e&&typeof e==`object`?e:null}function o(e){let t=a(e),n=a(t?.cause),o=typeof n?.code==`string`?n.code:void 0,s=typeof n?.message==`string`?n.message:typeof t?.message==`string`?t.message:String(e);return{code:o,message:s,kind:o&&r.has(o)||i.some(e=>e.test(s))?`tls-cert`:`network`}}function s(e){let t=`${n.sep}Cellar${n.sep}`,r=e.indexOf(t);return r>0?e.slice(0,r):process.env.HOMEBREW_PREFIX?.trim()||null}function c(){let e=s(process.execPath);return e?n.join(e,`etc`,`openssl@3`,`cert.pem`):null}function l(e){let t=e.auth?.profiles;return t?Object.values(t).some(e=>e.provider===`openai-codex`&&e.mode===`oauth`):!1}function u(e){return e.deep===!0?!0:l(e.cfg)}async function d(e){let t=e?.timeoutMs??5e3,n=e?.fetchImpl??fetch;try{return await n(`https://auth.openai.com/oauth/authorize?response_type=code&client_id=openclaw-preflight&redirect_uri=http%3A%2F%2Flocalhost%3A1455%2Fauth%2Fcallback&scope=openid+profile+email`,{method:`GET`,redirect:`manual`,signal:AbortSignal.timeout(t)}),{ok:!0}}catch(e){let t=o(e);return{ok:!1,kind:t.kind,code:t.code,message:t.message}}}function f(t){if(t.kind!==`tls-cert`)return[`OpenAI OAuth prerequisites check failed due to a network error before the browser flow.`,`Cause: ${t.message}`,`Verify DNS/firewall/proxy access to auth.openai.com and retry.`].join(`
2
2
  `);let n=c(),r=[`OpenAI OAuth prerequisites check failed: Node/OpenSSL cannot validate TLS certificates.`,`Cause: ${t.code?`${t.code} (${t.message})`:t.message}`,``,`Fix (Homebrew Node/OpenSSL):`,`- ${e(`brew postinstall ca-certificates`)}`,`- ${e(`brew postinstall openssl@3`)}`];return n&&r.push(`- Verify cert bundle exists: ${n}`),r.push(`- Retry the OAuth login flow.`),r.join(`
3
3
  `)}async function p(e){if(!u(e))return;let n=await d({timeoutMs:4e3});n.ok||n.kind!==`tls-cert`||t(f(n),`OAuth TLS prerequisites`)}export{p as n,d as r,f as t};
4
+ //# sourceMappingURL=oauth-tls-preflight-ByNjbUR5.js.map
@@ -5,3 +5,4 @@ import{t as e}from"./rolldown-runtime-CNxR59P3.js";import{Cc as t,Gl as n,Jl as
5
5
  `),`Ollama Cloud`),!await t.confirm({message:`Continue without cloud auth?`}))throw new c(`Ollama cloud auth could not be verified`)}let x=y===`local`||!b?p:m,S=[...x,..._.filter(e=>!x.includes(e))];await w(e.agentDir);let T=x[0]??`glm-4.7-flash`;return{config:C(e.cfg,l,S,g),defaultModelId:T}}async function E(e){let{opts:t,runtime:n}=e,s=r((t.customBaseUrl?.trim()||a).replace(/\/+$/,``)),{reachable:c,models:u}=await o(s),d=h(t.customModelId);if(!c)return n.error([`Ollama could not be reached at ${s}.`,`Download it at https://ollama.com/download`].join(`
6
6
  `)),n.exit(1),e.nextConfig;await w();let f=await i(s,u.slice(0,50)),m=new Map(f.map(e=>[e.name,e])),_=u.map(e=>e.name),v=p,y=[...v,..._.filter(e=>!v.includes(e))],b=d??v[0],S=!1,T=new Set(_),E=g(b);E&&T.add(b),!E&&!_.includes(b)&&(S=await x(s,b,n),S&&T.add(b));let D=y,O=b;if((S||E)&&!D.includes(b)&&(D=[...D,b]),!T.has(b))if(T.size>0)O=D.find(e=>T.has(e))??Array.from(T)[0],n.log(`Ollama model ${b} was not available; using ${O} instead.`);else return n.error([`No Ollama models are available at ${s}.`,`Pull a model first, then re-run onboarding.`].join(`
7
7
  `)),n.exit(1),e.nextConfig;let k=C(e.nextConfig,s,D,m),A=`ollama/${O}`;return n.log(`Default Ollama model: ${O}`),l(k,A)}async function D(e){let t=e.config.agents?.defaults?.model,n=typeof t==`string`?t:t?.primary;if(!n?.startsWith(`ollama/`))return;let r=e.config.models?.providers?.ollama?.baseUrl??a,i=n.slice(7);if(g(i))return;let{models:s}=await o(r);if(!s.some(e=>e.name===i)&&!await b(r,i,e.prompter))throw new c(`Failed to download selected Ollama model`)}export{T as i,D as n,d as r,E as t};
8
+ //# sourceMappingURL=ollama-setup-BMEKWyIE.js.map
@@ -5,3 +5,4 @@ import{t as e}from"./rolldown-runtime-CNxR59P3.js";import{ct as t,lt as n,ot as
5
5
  `),`Ollama Cloud`),!await i.confirm({message:`Continue without cloud auth?`}))throw new c(`Ollama cloud auth could not be verified`)}let x=y===`local`||!b?p:m,S=[...x,..._.filter(e=>!x.includes(e))];await w(e.agentDir);let T=x[0]??`glm-4.7-flash`;return{config:C(e.cfg,l,S,g),defaultModelId:T}}async function E(e){let{opts:i,runtime:a}=e,s=o((i.customBaseUrl?.trim()||r).replace(/\/+$/,``)),{reachable:c,models:u}=await n(s),d=h(i.customModelId);if(!c)return a.error([`Ollama could not be reached at ${s}.`,`Download it at https://ollama.com/download`].join(`
6
6
  `)),a.exit(1),e.nextConfig;await w();let f=await t(s,u.slice(0,50)),m=new Map(f.map(e=>[e.name,e])),_=u.map(e=>e.name),v=p,y=[...v,..._.filter(e=>!v.includes(e))],b=d??v[0],S=!1,T=new Set(_),E=g(b);E&&T.add(b),!E&&!_.includes(b)&&(S=await x(s,b,a),S&&T.add(b));let D=y,O=b;if((S||E)&&!D.includes(b)&&(D=[...D,b]),!T.has(b))if(T.size>0)O=D.find(e=>T.has(e))??Array.from(T)[0],a.log(`Ollama model ${b} was not available; using ${O} instead.`);else return a.error([`No Ollama models are available at ${s}.`,`Pull a model first, then re-run onboarding.`].join(`
7
7
  `)),a.exit(1),e.nextConfig;let k=C(e.nextConfig,s,D,m),A=`ollama/${O}`;return a.log(`Default Ollama model: ${O}`),l(k,A)}async function D(e){let t=e.config.agents?.defaults?.model,i=typeof t==`string`?t:t?.primary;if(!i?.startsWith(`ollama/`))return;let a=e.config.models?.providers?.ollama?.baseUrl??r,o=i.slice(7);if(g(o))return;let{models:s}=await n(a);if(!s.some(e=>e.name===o)&&!await b(a,o,e.prompter))throw new c(`Failed to download selected Ollama model`)}export{T as i,D as n,d as r,E as t};
8
+ //# sourceMappingURL=ollama-setup-DlwS6Gl-.js.map
@@ -3,3 +3,4 @@ import{m as e,p as t}from"./subsystem-BLbY429l.js";import{u as n}from"./paths-Bj
3
3
  `)),n.exit(1);return}r===`claude-cli`&&n.log(`Auth choice "claude-cli" is deprecated; using setup-token flow instead.`),r===`codex-cli`&&n.log(`Auth choice "codex-cli" is deprecated; using OpenAI Codex OAuth instead.`);let c=e.flow===`manual`?`advanced`:e.flow,l=s===e.authChoice&&c===e.flow?e:{...e,authChoice:s,flow:c};if(l.secretInputMode&&l.secretInputMode!==`plaintext`&&l.secretInputMode!==`ref`){n.error(`Invalid --secret-input-mode. Use "plaintext" or "ref".`),n.exit(1);return}if(l.resetScope&&!I.has(l.resetScope)){n.error(`Invalid --reset-scope. Use "config", "config+creds+sessions", or "full".`),n.exit(1);return}if(l.nonInteractive&&l.acceptRisk!==!0){n.error([`Non-interactive onboarding requires explicit risk acknowledgement.`,`Read: https://docs.openclaw.ai/security`,`Re-run with: ${a(`openclaw onboard --non-interactive --accept-risk ...`)}`].join(`
4
4
  `)),n.exit(1);return}if(l.reset){let e=await i(),t=e.valid?e.config:{},r=l.workspace??t.agents?.defaults?.workspace??h;await d(l.resetScope??`config+creds+sessions`,o(r),n)}if(process.platform===`win32`&&n.log([`Windows detected — OpenClaw runs great on WSL2!`,`Native Windows might be trickier.`,`Quick setup: wsl --install (one command, one reboot)`,`Guide: https://docs.openclaw.ai/windows`].join(`
5
5
  `)),l.nonInteractive){await F(l,n);return}await E(l,n)}export{L as t};
6
+ //# sourceMappingURL=onboard-B0BNCQaO.js.map
@@ -3,3 +3,4 @@ import{u as e}from"./paths-B4IRk3wi.js";import{m as t,p as n}from"./subsystem-C5
3
3
  `)),t.exit(1);return}a===`claude-cli`&&t.log(`Auth choice "claude-cli" is deprecated; using setup-token flow instead.`),a===`codex-cli`&&t.log(`Auth choice "codex-cli" is deprecated; using OpenAI Codex OAuth instead.`);let c=e.flow===`manual`?`advanced`:e.flow,l=o===e.authChoice&&c===e.flow?e:{...e,authChoice:o,flow:c};if(l.secretInputMode&&l.secretInputMode!==`plaintext`&&l.secretInputMode!==`ref`){t.error(`Invalid --secret-input-mode. Use "plaintext" or "ref".`),t.exit(1);return}if(l.resetScope&&!I.has(l.resetScope)){t.error(`Invalid --reset-scope. Use "config", "config+creds+sessions", or "full".`),t.exit(1);return}if(l.nonInteractive&&l.acceptRisk!==!0){t.error([`Non-interactive onboarding requires explicit risk acknowledgement.`,`Read: https://docs.openclaw.ai/security`,`Re-run with: ${s(`openclaw onboard --non-interactive --accept-risk ...`)}`].join(`
4
4
  `)),t.exit(1);return}if(l.reset){let e=await i(),n=e.valid?e.config:{},a=l.workspace??n.agents?.defaults?.workspace??h;await d(l.resetScope??`config+creds+sessions`,r(a),t)}if(process.platform===`win32`&&t.log([`Windows detected — OpenClaw runs great on WSL2!`,`Native Windows might be trickier.`,`Quick setup: wsl --install (one command, one reboot)`,`Guide: https://docs.openclaw.ai/windows`].join(`
5
5
  `)),l.nonInteractive){await F(l,t);return}await E(l,t)}export{L as t};
6
+ //# sourceMappingURL=onboard-CjVhdaiR.js.map
@@ -16,3 +16,4 @@ import{t as e}from"./rolldown-runtime-CNxR59P3.js";import{t}from"./subsystem-C5X
16
16
  `),`${e.label} DM access`),await n.select({message:`${e.label} DM policy`,options:[{value:`pairing`,label:`Pairing (recommended)`},{value:`allowlist`,label:`Allowlist (specific users only)`},{value:`open`,label:`Open (public inbound DMs)`},{value:`disabled`,label:`Disabled (ignore DMs)`}]}));for(let e of i){let t=e.getCurrent(a),i=await o(e);i!==t&&(a=e.setPolicy(a,i)),i===`allowlist`&&e.promptAllowFrom&&(a=await e.promptAllowFrom({cfg:a,prompter:n,accountId:r?.get(e.channel)}))}return a}async function yn(e,t,n,r){let i=e,a=new Set(r?.forceAllowFromChannels??[]),o={...r?.accountIds};r?.whatsappAccountId?.trim()&&(o.whatsapp=r.whatsappAccountId.trim());let{installedPlugins:s,catalogEntries:c,statusByChannel:l,statusLines:u}=await mn({cfg:i,options:r,accountOverrides:o});if(!r?.skipStatusNote&&u.length>0&&await n.note(u.join(`
17
17
  `),`Channel status`),!(r?.skipConfirm||await n.confirm({message:`Configure chat channels now?`,initialValue:!0})))return e;let d=te().map(e=>({id:e.id,label:e.label,blurb:e.blurb})),f=new Set(d.map(e=>e.id));await gn(n,[...d,...s.filter(e=>!f.has(e.id)).map(e=>({id:e.id,label:e.meta.label,blurb:e.meta.blurb})),...c.filter(e=>!f.has(e.id)).map(e=>({id:e.id,label:e.meta.label,blurb:e.meta.blurb}))]);let p=r?.initialSelection?.[0]??_n(l),_=r?.promptAccountIds===!0,v=new Map,ne=(e,t)=>{r?.onAccountId?.(e,t),$(e)?.onAccountRecorded?.(t,r),v.set(e,t)},b=[],re=e=>{b.includes(e)||b.push(e)},ie=e=>{let t=j(e);if(!t)return i.plugins?.entries?.[e]?.enabled===!1?`plugin disabled`:i.plugins?.enabled===!1?`plugins disabled`:void 0;let n=ue({plugin:t,cfg:i}),r=t.config.resolveAccount(i,n),a;return t.config.isEnabled?a=t.config.isEnabled(r,i):typeof r?.enabled==`boolean`?a=r.enabled:typeof i.channels?.[e]?.enabled==`boolean`&&(a=i.channels[e]?.enabled),a===!1?`disabled`:void 0},x=e=>e.map(e=>{let t=l.get(e.id),n=ie(e.id),r=[t?.selectionHint,n].filter(Boolean).join(` · `)||void 0;return{value:e.meta.id,label:e.meta.selectionLabel??e.meta.label,...r?{hint:r}:{}}}),S=()=>{let e=te(),t=k(),n=new Set(t.map(e=>e.id)),r=me({workspaceDir:m(i,h(i))}).filter(e=>!n.has(e.id)),a=new Map;for(let t of e)a.set(t.id,t);for(let e of t)a.set(e.id,e.meta);for(let e of r)a.has(e.id)||a.set(e.id,e.meta);return{entries:Array.from(a,([e,t])=>({id:e,meta:t})),catalog:r,catalogById:new Map(r.map(e=>[e.id,e]))}},C=async e=>{let t=$(e);if(!t)return;let n=await t.getStatus({cfg:i,options:r,accountOverrides:o});l.set(e,n)},ae=async e=>{if(j(e))return!0;let r=F(i,e);if(i=r.config,!r.enabled)return await n.note(`Cannot enable ${e}: ${r.reason??`plugin disabled`}.`,`Channel setup`),!1;let a=m(i,h(i));return He({cfg:i,runtime:t,workspaceDir:a}),j(e)?(await C(e),!0):$(e)?(await n.note(`${e} plugin not available (continuing with onboarding). If the channel still doesn't work after setup, run \`${y(`openclaw plugins list`)}\` and \`${y(`openclaw plugins enable `+e)}\`, then restart the gateway.`,`Channel setup`),await C(e),!0):(await n.note(`${e} plugin not available.`,`Channel setup`),!1)},w=async(e,t)=>{i=t.cfg,t.accountId&&ne(e,t.accountId),re(e),await C(e)},oe=async(e,t)=>t===`skip`?!1:(await w(e,t),!0),T=async e=>{let s=$(e);if(!s){await n.note(`${e} does not support onboarding yet.`,`Channel setup`);return}await w(e,await s.configure({cfg:i,runtime:t,prompter:n,options:r,accountOverrides:o,shouldPromptAccountIds:_,forceAllowFrom:a.has(e)}))},se=async(e,s)=>{let c=j(e),l=$(e);if(l?.configureWhenConfigured)return await oe(e,await l.configureWhenConfigured({cfg:i,runtime:t,prompter:n,options:r,accountOverrides:o,shouldPromptAccountIds:_,forceAllowFrom:a.has(e),configured:!0,label:s})),void 0;let u=!!(r?.allowDisable&&(c?.config.setAccountEnabled||l?.disable)),d=!!(r?.allowDisable&&c?.config.deleteAccount),f=await fn({prompter:n,label:s,supportsDisable:u,supportsDelete:d});if(f===`skip`)return;if(f===`update`){await T(e);return}if(!r?.allowDisable)return;if(f===`delete`&&!d){await n.note(`${s} does not support deleting config entries.`,`Remove channel`);return}let p=g((f===`delete`?c?.config.deleteAccount:c?.config.setAccountEnabled)?await pn({cfg:i,prompter:n,label:s,channel:e}):`default`)??(c?ue({plugin:c,cfg:i}):`default`),m=dn(p);if(f===`delete`){if(!await n.confirm({message:`Delete ${s} account "${m}"?`,initialValue:!1}))return;c?.config.deleteAccount&&(i=c.config.deleteAccount({cfg:i,accountId:p})),await C(e);return}c?.config.setAccountEnabled?i=c.config.setAccountEnabled({cfg:i,accountId:p,enabled:!1}):l?.disable&&(i=l.disable(i)),await C(e)},E=async e=>{let{catalogById:s}=S(),c=s.get(e);if(c){let r=m(i,h(i)),a=await Ve({cfg:i,entry:c,prompter:n,runtime:t,workspaceDir:r});if(i=a.cfg,!a.installed)return;He({cfg:i,runtime:t,workspaceDir:r}),await C(e)}else if(!await ae(e))return;let u=j(e),d=$(e),f=u?.meta.label??c?.meta.label??e,p=l.get(e)?.configured??!1;if(d?.configureInteractive)return await oe(e,await d.configureInteractive({cfg:i,runtime:t,prompter:n,options:r,accountOverrides:o,shouldPromptAccountIds:_,forceAllowFrom:a.has(e),configured:p,label:f})),void 0;if(p){await se(e,f);return}await T(e)};if(r?.quickstartDefaults){let{entries:e}=S(),t=await n.select({message:`Select channel (QuickStart)`,options:[...x(e),{value:`__skip__`,label:`Skip for now`,hint:`You can add channels later via \`${y(`openclaw channels add`)}\``}],initialValue:p});t!==`__skip__`&&await E(t)}else{let e=`__done__`,t=r?.initialSelection?.[0]??p;for(;;){let{entries:r}=S(),i=await n.select({message:`Select a channel`,options:[...x(r),{value:e,label:`Finished`,hint:b.length>0?`Done`:`Skip for now`}],initialValue:t});if(i===e)break;await E(i)}}r?.onSelection?.(b);let D=new Map,{entries:ce}=S();for(let e of ce)D.set(e.id,ee(e.meta,P));let O=b.map(e=>D.get(e)).filter(e=>!!e);return O.length>0&&await n.note(O.join(`
18
18
  `),`Selected channels`),r?.skipDmPolicyPrompt||(i=await vn({cfg:i,selection:b,prompter:n,accountIdsByChannel:v})),i}export{He as a,Ve as i,un as n,yn as r,hn as t};
19
+ //# sourceMappingURL=onboard-channels-BMIOddLN.js.map
@@ -16,3 +16,4 @@ import{t as e}from"./rolldown-runtime-CNxR59P3.js";import{t}from"./subsystem-BLb
16
16
  `),`${e.label} DM access`),await n.select({message:`${e.label} DM policy`,options:[{value:`pairing`,label:`Pairing (recommended)`},{value:`allowlist`,label:`Allowlist (specific users only)`},{value:`open`,label:`Open (public inbound DMs)`},{value:`disabled`,label:`Disabled (ignore DMs)`}]}));for(let e of i){let t=e.getCurrent(o),i=await s(e);i!==t&&(o=e.setPolicy(o,i)),i===`allowlist`&&e.promptAllowFrom&&(o=await e.promptAllowFrom({cfg:o,prompter:n,accountId:r?.get(e.channel)}))}return o}async function yn(e,t,n,r){let i=e,l=new Set(r?.forceAllowFromChannels??[]),u={...r?.accountIds};r?.whatsappAccountId?.trim()&&(u.whatsapp=r.whatsappAccountId.trim());let{installedPlugins:d,catalogEntries:f,statusByChannel:p,statusLines:g}=await mn({cfg:i,options:r,accountOverrides:u});if(!r?.skipStatusNote&&g.length>0&&await n.note(g.join(`
17
17
  `),`Channel status`),!(r?.skipConfirm||await n.confirm({message:`Configure chat channels now?`,initialValue:!0})))return e;let _=h().map(e=>({id:e.id,label:e.label,blurb:e.blurb})),v=new Set(_.map(e=>e.id));await gn(n,[..._,...d.filter(e=>!v.has(e.id)).map(e=>({id:e.id,label:e.meta.label,blurb:e.meta.blurb})),...f.filter(e=>!v.has(e.id)).map(e=>({id:e.id,label:e.meta.label,blurb:e.meta.blurb}))]);let y=r?.initialSelection?.[0]??_n(p),b=r?.promptAccountIds===!0,x=new Map,ee=(e,t)=>{r?.onAccountId?.(e,t),$(e)?.onAccountRecorded?.(t,r),x.set(e,t)},S=[],te=e=>{S.includes(e)||S.push(e)},ne=e=>{let t=A(e);if(!t)return i.plugins?.entries?.[e]?.enabled===!1?`plugin disabled`:i.plugins?.enabled===!1?`plugins disabled`:void 0;let n=re({plugin:t,cfg:i}),r=t.config.resolveAccount(i,n),a;return t.config.isEnabled?a=t.config.isEnabled(r,i):typeof r?.enabled==`boolean`?a=r.enabled:typeof i.channels?.[e]?.enabled==`boolean`&&(a=i.channels[e]?.enabled),a===!1?`disabled`:void 0},C=e=>e.map(e=>{let t=p.get(e.id),n=ne(e.id),r=[t?.selectionHint,n].filter(Boolean).join(` · `)||void 0;return{value:e.meta.id,label:e.meta.selectionLabel??e.meta.label,...r?{hint:r}:{}}}),w=()=>{let e=h(),t=ie(),n=new Set(t.map(e=>e.id)),r=pe({workspaceDir:o(i,s(i))}).filter(e=>!n.has(e.id)),a=new Map;for(let t of e)a.set(t.id,t);for(let e of t)a.set(e.id,e.meta);for(let e of r)a.has(e.id)||a.set(e.id,e.meta);return{entries:Array.from(a,([e,t])=>({id:e,meta:t})),catalog:r,catalogById:new Map(r.map(e=>[e.id,e]))}},T=async e=>{let t=$(e);if(!t)return;let n=await t.getStatus({cfg:i,options:r,accountOverrides:u});p.set(e,n)},E=async e=>{if(A(e))return!0;let r=I(i,e);if(i=r.config,!r.enabled)return await n.note(`Cannot enable ${e}: ${r.reason??`plugin disabled`}.`,`Channel setup`),!1;let c=o(i,s(i));return Ve({cfg:i,runtime:t,workspaceDir:c}),A(e)?(await T(e),!0):$(e)?(await n.note(`${e} plugin not available (continuing with onboarding). If the channel still doesn't work after setup, run \`${a(`openclaw plugins list`)}\` and \`${a(`openclaw plugins enable `+e)}\`, then restart the gateway.`,`Channel setup`),await T(e),!0):(await n.note(`${e} plugin not available.`,`Channel setup`),!1)},D=async(e,t)=>{i=t.cfg,t.accountId&&ee(e,t.accountId),te(e),await T(e)},O=async(e,t)=>t===`skip`?!1:(await D(e,t),!0),k=async e=>{let a=$(e);if(!a){await n.note(`${e} does not support onboarding yet.`,`Channel setup`);return}await D(e,await a.configure({cfg:i,runtime:t,prompter:n,options:r,accountOverrides:u,shouldPromptAccountIds:b,forceAllowFrom:l.has(e)}))},ae=async(e,a)=>{let o=A(e),s=$(e);if(s?.configureWhenConfigured)return await O(e,await s.configureWhenConfigured({cfg:i,runtime:t,prompter:n,options:r,accountOverrides:u,shouldPromptAccountIds:b,forceAllowFrom:l.has(e),configured:!0,label:a})),void 0;let d=!!(r?.allowDisable&&(o?.config.setAccountEnabled||s?.disable)),f=!!(r?.allowDisable&&o?.config.deleteAccount),p=await fn({prompter:n,label:a,supportsDisable:d,supportsDelete:f});if(p===`skip`)return;if(p===`update`){await k(e);return}if(!r?.allowDisable)return;if(p===`delete`&&!f){await n.note(`${a} does not support deleting config entries.`,`Remove channel`);return}let m=c((p===`delete`?o?.config.deleteAccount:o?.config.setAccountEnabled)?await pn({cfg:i,prompter:n,label:a,channel:e}):`default`)??(o?re({plugin:o,cfg:i}):`default`),h=dn(m);if(p===`delete`){if(!await n.confirm({message:`Delete ${a} account "${h}"?`,initialValue:!1}))return;o?.config.deleteAccount&&(i=o.config.deleteAccount({cfg:i,accountId:m})),await T(e);return}o?.config.setAccountEnabled?i=o.config.setAccountEnabled({cfg:i,accountId:m,enabled:!1}):s?.disable&&(i=s.disable(i)),await T(e)},j=async e=>{let{catalogById:a}=w(),c=a.get(e);if(c){let r=o(i,s(i)),a=await Be({cfg:i,entry:c,prompter:n,runtime:t,workspaceDir:r});if(i=a.cfg,!a.installed)return;Ve({cfg:i,runtime:t,workspaceDir:r}),await T(e)}else if(!await E(e))return;let d=A(e),f=$(e),m=d?.meta.label??c?.meta.label??e,h=p.get(e)?.configured??!1;if(f?.configureInteractive)return await O(e,await f.configureInteractive({cfg:i,runtime:t,prompter:n,options:r,accountOverrides:u,shouldPromptAccountIds:b,forceAllowFrom:l.has(e),configured:h,label:m})),void 0;if(h){await ae(e,m);return}await k(e)};if(r?.quickstartDefaults){let{entries:e}=w(),t=await n.select({message:`Select channel (QuickStart)`,options:[...C(e),{value:`__skip__`,label:`Skip for now`,hint:`You can add channels later via \`${a(`openclaw channels add`)}\``}],initialValue:y});t!==`__skip__`&&await j(t)}else{let e=`__done__`,t=r?.initialSelection?.[0]??y;for(;;){let{entries:r}=w(),i=await n.select({message:`Select a channel`,options:[...C(r),{value:e,label:`Finished`,hint:S.length>0?`Done`:`Skip for now`}],initialValue:t});if(i===e)break;await j(i)}}r?.onSelection?.(S);let oe=new Map,{entries:M}=w();for(let e of M)oe.set(e.id,m(e.meta,F));let N=S.map(e=>oe.get(e)).filter(e=>!!e);return N.length>0&&await n.note(N.join(`
18
18
  `),`Selected channels`),r?.skipDmPolicyPrompt||(i=await vn({cfg:i,selection:S,prompter:n,accountIdsByChannel:x})),i}export{Ve as a,Be as i,un as n,yn as r,hn as t};
19
+ //# sourceMappingURL=onboard-channels-CZK_7xMR.js.map
@@ -1 +1,2 @@
1
1
  import{t as e}from"./rolldown-runtime-CNxR59P3.js";var t=e({ONBOARDING_DEFAULT_DM_SCOPE:()=>n,ONBOARDING_DEFAULT_TOOLS_PROFILE:()=>r,applyOnboardingLocalWorkspaceConfig:()=>i});const n=`per-channel-peer`,r=`coding`;function i(e,t){return{...e,agents:{...e.agents,defaults:{...e.agents?.defaults,workspace:t}},gateway:{...e.gateway,mode:`local`},session:{...e.session,dmScope:e.session?.dmScope??`per-channel-peer`},tools:{...e.tools,profile:e.tools?.profile??`coding`}}}export{t as n,i as t};
2
+ //# sourceMappingURL=onboard-config-B7U20YRw.js.map
@@ -1 +1,2 @@
1
1
  import{t as e}from"./rolldown-runtime-CNxR59P3.js";var t=e({ONBOARDING_DEFAULT_DM_SCOPE:()=>n,ONBOARDING_DEFAULT_TOOLS_PROFILE:()=>r,applyOnboardingLocalWorkspaceConfig:()=>i});const n=`per-channel-peer`,r=`coding`;function i(e,t){return{...e,agents:{...e.agents,defaults:{...e.agents?.defaults,workspace:t}},gateway:{...e.gateway,mode:`local`},session:{...e.session,dmScope:e.session?.dmScope??`per-channel-peer`},tools:{...e.tools,profile:e.tools?.profile??`coding`}}}export{t as n,i as t};
2
+ //# sourceMappingURL=onboard-config-DS9dUv8M.js.map
@@ -1,2 +1,3 @@
1
1
  import{t as e}from"./rolldown-runtime-CNxR59P3.js";import{c as t,cu as n,lu as r,ot as i,pu as a,r as o}from"./model-selection-BlC_rXAN.js";import{o as s}from"./types.secrets-C-5U96pc.js";import{n as c}from"./fetch-timeout-u8g99Ax0.js";import{t as l}from"./context-window-guard-7crlatf9.js";import{r as u}from"./auth-choice.apply-helpers-gaL-oSft.js";import{u as d}from"./openai-codex-model-default-yVfRw-Mm.js";import{r as f}from"./model-picker-bZNuI66U.js";var p=e({CustomApiError:()=>v,applyCustomApiConfig:()=>V,parseNonInteractiveCustomApiFlags:()=>B,promptCustomApiConfig:()=>H,resolveCustomProviderId:()=>z});const m=l;function h(e){let t=typeof e==`number`&&Number.isFinite(e)?Math.floor(e):0;return t>=16e3?t:l}function g(e){try{let t=new URL(e).hostname.toLowerCase();return t.endsWith(`.services.ai.azure.com`)||t.endsWith(`.openai.azure.com`)}catch{return!1}}function _(e,t){let n=e.endsWith(`/`)?e.slice(0,-1):e;return n.includes(`/openai/deployments/`)?n:`${n}/openai/deployments/${t}`}var v=class extends Error{constructor(e,t){super(t),this.name=`CustomApiError`,this.code=e}};const y=[{value:`openai`,label:`OpenAI-compatible`,hint:`Uses /chat/completions`},{value:`anthropic`,label:`Anthropic-compatible`,hint:`Uses /messages`},{value:`unknown`,label:`Unknown (detect automatically)`,hint:`Probes OpenAI then Anthropic endpoints`}];function b(e){let t=e.trim().toLowerCase();return t?t.replace(/[^a-z0-9-]+/g,`-`).replace(/^-+|-+$/g,``):``}function x(e){try{let t=new URL(e);return b(`custom-${t.hostname.replace(/[^a-z0-9]+/gi,`-`).toLowerCase()}${t.port?`-${t.port}`:``}`)||`custom`}catch{return`custom`}}function S(e){let t=b(e.requestedId)||`custom`,n=e.providers[t];if(!n?.baseUrl||n.baseUrl===e.baseUrl)return{providerId:t,renamed:!1};let r=2,i=`${t}-${r}`;for(;e.providers[i];)r+=1,i=`${t}-${r}`;return{providerId:i,renamed:!0}}function C(e){let n=e.raw.trim();if(!n)return;let r;try{r=d(n)}catch(e){return e instanceof Error?e.message:`Alias is invalid.`}let i=o({cfg:e.cfg,defaultProvider:a}),s=r.toLowerCase(),c=i.byAlias.get(s);if(!c)return;let l=t(c.ref.provider,c.ref.model);if(l!==e.modelRef)return`Alias ${r} already points to ${l}.`}function w(e){let t={};return e&&(t[`api-key`]=e),t}function T(e){let t={};return e&&(t.Authorization=`Bearer ${e}`),t}function E(e){let t={"anthropic-version":`2023-06-01`};return e&&(t[`x-api-key`]=e),t}function D(e){if(!e)return`unknown error`;if(e instanceof Error)return e.message;if(typeof e==`string`)return e;try{return JSON.stringify(e)}catch{return`unknown error`}}function O(e){return s(e)?e:n(e)}function k(e){let t=g(e.baseUrl)?_(e.baseUrl,e.modelId):e.baseUrl,n=new URL(e.endpointPath,t.endsWith(`/`)?t:`${t}/`);return g(e.baseUrl)&&n.searchParams.set(`api-version`,`2024-10-21`),n.href}async function A(e){try{let t=await c(e.endpoint,{method:`POST`,headers:{"Content-Type":`application/json`,...e.headers},body:JSON.stringify(e.body)},3e4);return{ok:t.ok,status:t.status}}catch(e){return{ok:!1,error:e}}}async function j(e){let t=k({baseUrl:e.baseUrl,modelId:e.modelId,endpointPath:`chat/completions`}),n=g(e.baseUrl),r=n?w(e.apiKey):T(e.apiKey);return n?await A({endpoint:t,headers:r,body:{messages:[{role:`user`,content:`Hi`}],max_completion_tokens:5,stream:!1}}):await A({endpoint:t,headers:r,body:{model:e.modelId,messages:[{role:`user`,content:`Hi`}],max_tokens:1,stream:!1}})}async function M(e){return await A({endpoint:k({baseUrl:/\/v1\/?$/.test(e.baseUrl.trim())?e.baseUrl.trim():e.baseUrl.trim().replace(/\/?$/,``)+`/v1`,modelId:e.modelId,endpointPath:`messages`}),headers:E(e.apiKey),body:{model:e.modelId,max_tokens:1,messages:[{role:`user`,content:`Hi`}],stream:!1}})}async function N(e){let t=(await e.prompter.text({message:`API Base URL`,initialValue:e.initialBaseUrl??i,placeholder:`https://api.example.com/v1`,validate:e=>{try{new URL(e);return}catch{return`Please enter a valid URL (e.g. http://...)`}}})).trim(),n=x(t)||`custom`,a,o=await u({config:e.config,provider:n,envLabel:`CUSTOM_API_KEY`,promptMessage:`API Key (leave blank if not required)`,normalize:r,validate:()=>void 0,prompter:e.prompter,secretInputMode:e.secretInputMode,setCredential:async e=>{a=e}});return{baseUrl:t,apiKey:O(a),resolvedApiKey:r(o)}}async function P(e){return await e.select({message:`What would you like to change?`,options:[{value:`baseUrl`,label:`Change base URL`},{value:`model`,label:`Change model`},{value:`both`,label:`Change base URL and model`}]})}async function F(e){return(await e.text({message:`Model ID`,placeholder:`e.g. llama3, claude-3-7-sonnet`,validate:e=>e.trim()?void 0:`Model ID is required`})).trim()}async function I(e){let{baseUrl:t,apiKey:n,resolvedApiKey:r,modelId:i}=e.current;if(e.retryChoice===`baseUrl`||e.retryChoice===`both`){let i=await N({prompter:e.prompter,config:e.config,secretInputMode:e.secretInputMode,initialBaseUrl:t});t=i.baseUrl,n=i.apiKey,r=i.resolvedApiKey}return(e.retryChoice===`model`||e.retryChoice===`both`)&&(i=await F(e.prompter)),{baseUrl:t,apiKey:n,resolvedApiKey:r,modelId:i}}function L(e){return e===`anthropic`?`anthropic-messages`:`openai-completions`}function R(e){let t=e?.trim().toLowerCase();if(!t)return`openai`;if(t!==`openai`&&t!==`anthropic`)throw new v(`invalid_compatibility`,`Invalid --custom-compatibility (use "openai" or "anthropic").`);return t}function z(e){let t=e.config.models?.providers??{},n=e.baseUrl.trim(),r=e.providerId?.trim();if(r&&!b(r))throw new v(`invalid_provider_id`,`Custom provider ID must include letters, numbers, or hyphens.`);let i=r||x(n),a=S({requestedId:i,baseUrl:n,providers:t});return{providerId:a.providerId,...a.renamed?{providerIdRenamedFrom:b(i)||`custom`}:{}}}function B(e){let t=e.baseUrl?.trim()??``,n=e.modelId?.trim()??``;if(!t||!n)throw new v(`missing_required`,[`Auth choice "custom-api-key" requires a base URL and model ID.`,`Use --custom-base-url and --custom-model-id.`].join(`
2
2
  `));let r=e.apiKey?.trim(),i=e.providerId?.trim();if(i&&!b(i))throw new v(`invalid_provider_id`,`Custom provider ID must include letters, numbers, or hyphens.`);return{baseUrl:t,modelId:n,compatibility:R(e.compatibility),...r?{apiKey:r}:{},...i?{providerId:i}:{}}}function V(e){let n=e.baseUrl.trim();try{new URL(n)}catch{throw new v(`invalid_base_url`,`Custom provider base URL must be a valid URL.`)}if(e.compatibility!==`openai`&&e.compatibility!==`anthropic`)throw new v(`invalid_compatibility`,`Custom provider compatibility must be "openai" or "anthropic".`);let r=e.modelId.trim();if(!r)throw new v(`invalid_model_id`,`Custom provider model ID is required.`);let i=g(n)?_(n,r):n,a=z({config:e.config,baseUrl:i,providerId:e.providerId}),o=a.providerId,s=e.config.models?.providers??{},c=t(o,r),l=e.alias?.trim()??``,u=C({raw:l,cfg:e.config,modelRef:c});if(u)throw new v(`invalid_alias`,u);let d=s[o],p=Array.isArray(d?.models)?d.models:[],y=p.some(e=>e.id===r),b={id:r,name:`${r} (Custom Provider)`,contextWindow:m,maxTokens:4096,input:[`text`],cost:{input:0,output:0,cacheRead:0,cacheWrite:0},reasoning:!1},x=y?p.map(e=>e.id===r?{...e,contextWindow:h(e.contextWindow)}:e):[...p,b],{apiKey:S,...w}=d??{},T=O(e.apiKey)??O(S),E={...e.config,models:{...e.config.models,mode:e.config.models?.mode??`merge`,providers:{...s,[o]:{...w,baseUrl:i,api:L(e.compatibility),...T?{apiKey:T}:{},models:x.length>0?x:[b]}}}};return E=f(E,c),l&&(E={...E,agents:{...E.agents,defaults:{...E.agents?.defaults,models:{...E.agents?.defaults?.models,[c]:{...E.agents?.defaults?.models?.[c],alias:l}}}}}),{config:E,providerId:o,modelId:r,...a.providerIdRenamedFrom?{providerIdRenamedFrom:a.providerIdRenamedFrom}:{}}}async function H(e){let{prompter:n,runtime:r,config:i}=e,a=await N({prompter:n,config:i,secretInputMode:e.secretInputMode}),o=a.baseUrl,s=a.apiKey,c=a.resolvedApiKey,l=await n.select({message:`Endpoint compatibility`,options:y.map(e=>({value:e.value,label:e.label,hint:e.hint}))}),u=await F(n),d=l===`unknown`?null:l;for(;;){let t=!1;if(!d){let r=n.progress(`Detecting endpoint type...`);if((await j({baseUrl:o,apiKey:c,modelId:u})).ok)r.stop(`Detected OpenAI-compatible endpoint.`),d=`openai`,t=!0;else if((await M({baseUrl:o,apiKey:c,modelId:u})).ok)r.stop(`Detected Anthropic-compatible endpoint.`),d=`anthropic`,t=!0;else{r.stop(`Could not detect endpoint type.`),await n.note(`This endpoint did not respond to OpenAI or Anthropic style requests.`,`Endpoint detection`);let t=await P(n);({baseUrl:o,apiKey:s,resolvedApiKey:c,modelId:u}=await I({prompter:n,config:i,secretInputMode:e.secretInputMode,retryChoice:t,current:{baseUrl:o,apiKey:s,resolvedApiKey:c,modelId:u}}));continue}}if(t)break;let r=n.progress(`Verifying...`),a=d===`anthropic`?await M({baseUrl:o,apiKey:c,modelId:u}):await j({baseUrl:o,apiKey:c,modelId:u});if(a.ok){r.stop(`Verification successful.`);break}a.status===void 0?r.stop(`Verification failed: ${D(a.error)}`):r.stop(`Verification failed: status ${a.status}`);let f=await P(n);({baseUrl:o,apiKey:s,resolvedApiKey:c,modelId:u}=await I({prompter:n,config:i,secretInputMode:e.secretInputMode,retryChoice:f,current:{baseUrl:o,apiKey:s,resolvedApiKey:c,modelId:u}})),l===`unknown`&&(d=null)}let f=i.models?.providers??{},p=x(o),m=await n.text({message:`Endpoint ID`,initialValue:p,placeholder:`custom`,validate:e=>{if(!b(e))return`Endpoint ID is required.`}}),h=await n.text({message:`Model alias (optional)`,placeholder:`e.g. local, ollama`,initialValue:``,validate:e=>C({raw:e,cfg:i,modelRef:t(S({requestedId:b(m)||`custom`,baseUrl:o,providers:f}).providerId,u)})}),g=V({config:i,baseUrl:o,modelId:u,compatibility:d??`openai`,apiKey:s,providerId:m,alias:h});return g.providerIdRenamedFrom&&g.providerId&&await n.note(`Endpoint ID "${g.providerIdRenamedFrom}" already exists for a different base URL. Using "${g.providerId}".`,`Endpoint ID`),r.log(`Configured custom provider: ${g.providerId}/${g.modelId}`),g}export{H as a,B as i,V as n,z as o,p as r,v as t};
3
+ //# sourceMappingURL=onboard-custom-B03SlEHB.js.map
@@ -1,2 +1,3 @@
1
1
  import{t as e}from"./rolldown-runtime-CNxR59P3.js";import{Hc as t,Lc as n,Wl as r,cu as i,fu as a,su as o}from"./auth-profiles-T8DuH3ax.js";import{o as s}from"./types.secrets-D4tbc3Wq.js";import{t as c}from"./context-window-guard-CPChk363.js";import{n as l}from"./fetch-timeout-CdYxWG9w.js";import{r as u}from"./auth-choice.apply-helpers-B7S-PcH_.js";import{u as d}from"./openai-codex-model-default-DuE2_wN7.js";import{r as f}from"./model-picker-D3ZSpr0i.js";var p=e({CustomApiError:()=>v,applyCustomApiConfig:()=>V,parseNonInteractiveCustomApiFlags:()=>B,promptCustomApiConfig:()=>H,resolveCustomProviderId:()=>z});const m=c;function h(e){let t=typeof e==`number`&&Number.isFinite(e)?Math.floor(e):0;return t>=16e3?t:c}function g(e){try{let t=new URL(e).hostname.toLowerCase();return t.endsWith(`.services.ai.azure.com`)||t.endsWith(`.openai.azure.com`)}catch{return!1}}function _(e,t){let n=e.endsWith(`/`)?e.slice(0,-1):e;return n.includes(`/openai/deployments/`)?n:`${n}/openai/deployments/${t}`}var v=class extends Error{constructor(e,t){super(t),this.name=`CustomApiError`,this.code=e}};const y=[{value:`openai`,label:`OpenAI-compatible`,hint:`Uses /chat/completions`},{value:`anthropic`,label:`Anthropic-compatible`,hint:`Uses /messages`},{value:`unknown`,label:`Unknown (detect automatically)`,hint:`Probes OpenAI then Anthropic endpoints`}];function b(e){let t=e.trim().toLowerCase();return t?t.replace(/[^a-z0-9-]+/g,`-`).replace(/^-+|-+$/g,``):``}function x(e){try{let t=new URL(e);return b(`custom-${t.hostname.replace(/[^a-z0-9]+/gi,`-`).toLowerCase()}${t.port?`-${t.port}`:``}`)||`custom`}catch{return`custom`}}function S(e){let t=b(e.requestedId)||`custom`,n=e.providers[t];if(!n?.baseUrl||n.baseUrl===e.baseUrl)return{providerId:t,renamed:!1};let r=2,i=`${t}-${r}`;for(;e.providers[i];)r+=1,i=`${t}-${r}`;return{providerId:i,renamed:!0}}function C(e){let r=e.raw.trim();if(!r)return;let i;try{i=d(r)}catch(e){return e instanceof Error?e.message:`Alias is invalid.`}let o=n({cfg:e.cfg,defaultProvider:a}),s=i.toLowerCase(),c=o.byAlias.get(s);if(!c)return;let l=t(c.ref.provider,c.ref.model);if(l!==e.modelRef)return`Alias ${i} already points to ${l}.`}function w(e){let t={};return e&&(t[`api-key`]=e),t}function T(e){let t={};return e&&(t.Authorization=`Bearer ${e}`),t}function E(e){let t={"anthropic-version":`2023-06-01`};return e&&(t[`x-api-key`]=e),t}function D(e){if(!e)return`unknown error`;if(e instanceof Error)return e.message;if(typeof e==`string`)return e;try{return JSON.stringify(e)}catch{return`unknown error`}}function O(e){return s(e)?e:o(e)}function k(e){let t=g(e.baseUrl)?_(e.baseUrl,e.modelId):e.baseUrl,n=new URL(e.endpointPath,t.endsWith(`/`)?t:`${t}/`);return g(e.baseUrl)&&n.searchParams.set(`api-version`,`2024-10-21`),n.href}async function A(e){try{let t=await l(e.endpoint,{method:`POST`,headers:{"Content-Type":`application/json`,...e.headers},body:JSON.stringify(e.body)},3e4);return{ok:t.ok,status:t.status}}catch(e){return{ok:!1,error:e}}}async function j(e){let t=k({baseUrl:e.baseUrl,modelId:e.modelId,endpointPath:`chat/completions`}),n=g(e.baseUrl),r=n?w(e.apiKey):T(e.apiKey);return n?await A({endpoint:t,headers:r,body:{messages:[{role:`user`,content:`Hi`}],max_completion_tokens:5,stream:!1}}):await A({endpoint:t,headers:r,body:{model:e.modelId,messages:[{role:`user`,content:`Hi`}],max_tokens:1,stream:!1}})}async function M(e){return await A({endpoint:k({baseUrl:/\/v1\/?$/.test(e.baseUrl.trim())?e.baseUrl.trim():e.baseUrl.trim().replace(/\/?$/,``)+`/v1`,modelId:e.modelId,endpointPath:`messages`}),headers:E(e.apiKey),body:{model:e.modelId,max_tokens:1,messages:[{role:`user`,content:`Hi`}],stream:!1}})}async function N(e){let t=(await e.prompter.text({message:`API Base URL`,initialValue:e.initialBaseUrl??r,placeholder:`https://api.example.com/v1`,validate:e=>{try{new URL(e);return}catch{return`Please enter a valid URL (e.g. http://...)`}}})).trim(),n=x(t)||`custom`,a,o=await u({config:e.config,provider:n,envLabel:`CUSTOM_API_KEY`,promptMessage:`API Key (leave blank if not required)`,normalize:i,validate:()=>void 0,prompter:e.prompter,secretInputMode:e.secretInputMode,setCredential:async e=>{a=e}});return{baseUrl:t,apiKey:O(a),resolvedApiKey:i(o)}}async function P(e){return await e.select({message:`What would you like to change?`,options:[{value:`baseUrl`,label:`Change base URL`},{value:`model`,label:`Change model`},{value:`both`,label:`Change base URL and model`}]})}async function F(e){return(await e.text({message:`Model ID`,placeholder:`e.g. llama3, claude-3-7-sonnet`,validate:e=>e.trim()?void 0:`Model ID is required`})).trim()}async function I(e){let{baseUrl:t,apiKey:n,resolvedApiKey:r,modelId:i}=e.current;if(e.retryChoice===`baseUrl`||e.retryChoice===`both`){let i=await N({prompter:e.prompter,config:e.config,secretInputMode:e.secretInputMode,initialBaseUrl:t});t=i.baseUrl,n=i.apiKey,r=i.resolvedApiKey}return(e.retryChoice===`model`||e.retryChoice===`both`)&&(i=await F(e.prompter)),{baseUrl:t,apiKey:n,resolvedApiKey:r,modelId:i}}function L(e){return e===`anthropic`?`anthropic-messages`:`openai-completions`}function R(e){let t=e?.trim().toLowerCase();if(!t)return`openai`;if(t!==`openai`&&t!==`anthropic`)throw new v(`invalid_compatibility`,`Invalid --custom-compatibility (use "openai" or "anthropic").`);return t}function z(e){let t=e.config.models?.providers??{},n=e.baseUrl.trim(),r=e.providerId?.trim();if(r&&!b(r))throw new v(`invalid_provider_id`,`Custom provider ID must include letters, numbers, or hyphens.`);let i=r||x(n),a=S({requestedId:i,baseUrl:n,providers:t});return{providerId:a.providerId,...a.renamed?{providerIdRenamedFrom:b(i)||`custom`}:{}}}function B(e){let t=e.baseUrl?.trim()??``,n=e.modelId?.trim()??``;if(!t||!n)throw new v(`missing_required`,[`Auth choice "custom-api-key" requires a base URL and model ID.`,`Use --custom-base-url and --custom-model-id.`].join(`
2
2
  `));let r=e.apiKey?.trim(),i=e.providerId?.trim();if(i&&!b(i))throw new v(`invalid_provider_id`,`Custom provider ID must include letters, numbers, or hyphens.`);return{baseUrl:t,modelId:n,compatibility:R(e.compatibility),...r?{apiKey:r}:{},...i?{providerId:i}:{}}}function V(e){let n=e.baseUrl.trim();try{new URL(n)}catch{throw new v(`invalid_base_url`,`Custom provider base URL must be a valid URL.`)}if(e.compatibility!==`openai`&&e.compatibility!==`anthropic`)throw new v(`invalid_compatibility`,`Custom provider compatibility must be "openai" or "anthropic".`);let r=e.modelId.trim();if(!r)throw new v(`invalid_model_id`,`Custom provider model ID is required.`);let i=g(n)?_(n,r):n,a=z({config:e.config,baseUrl:i,providerId:e.providerId}),o=a.providerId,s=e.config.models?.providers??{},c=t(o,r),l=e.alias?.trim()??``,u=C({raw:l,cfg:e.config,modelRef:c});if(u)throw new v(`invalid_alias`,u);let d=s[o],p=Array.isArray(d?.models)?d.models:[],y=p.some(e=>e.id===r),b={id:r,name:`${r} (Custom Provider)`,contextWindow:m,maxTokens:4096,input:[`text`],cost:{input:0,output:0,cacheRead:0,cacheWrite:0},reasoning:!1},x=y?p.map(e=>e.id===r?{...e,contextWindow:h(e.contextWindow)}:e):[...p,b],{apiKey:S,...w}=d??{},T=O(e.apiKey)??O(S),E={...e.config,models:{...e.config.models,mode:e.config.models?.mode??`merge`,providers:{...s,[o]:{...w,baseUrl:i,api:L(e.compatibility),...T?{apiKey:T}:{},models:x.length>0?x:[b]}}}};return E=f(E,c),l&&(E={...E,agents:{...E.agents,defaults:{...E.agents?.defaults,models:{...E.agents?.defaults?.models,[c]:{...E.agents?.defaults?.models?.[c],alias:l}}}}}),{config:E,providerId:o,modelId:r,...a.providerIdRenamedFrom?{providerIdRenamedFrom:a.providerIdRenamedFrom}:{}}}async function H(e){let{prompter:n,runtime:r,config:i}=e,a=await N({prompter:n,config:i,secretInputMode:e.secretInputMode}),o=a.baseUrl,s=a.apiKey,c=a.resolvedApiKey,l=await n.select({message:`Endpoint compatibility`,options:y.map(e=>({value:e.value,label:e.label,hint:e.hint}))}),u=await F(n),d=l===`unknown`?null:l;for(;;){let t=!1;if(!d){let r=n.progress(`Detecting endpoint type...`);if((await j({baseUrl:o,apiKey:c,modelId:u})).ok)r.stop(`Detected OpenAI-compatible endpoint.`),d=`openai`,t=!0;else if((await M({baseUrl:o,apiKey:c,modelId:u})).ok)r.stop(`Detected Anthropic-compatible endpoint.`),d=`anthropic`,t=!0;else{r.stop(`Could not detect endpoint type.`),await n.note(`This endpoint did not respond to OpenAI or Anthropic style requests.`,`Endpoint detection`);let t=await P(n);({baseUrl:o,apiKey:s,resolvedApiKey:c,modelId:u}=await I({prompter:n,config:i,secretInputMode:e.secretInputMode,retryChoice:t,current:{baseUrl:o,apiKey:s,resolvedApiKey:c,modelId:u}}));continue}}if(t)break;let r=n.progress(`Verifying...`),a=d===`anthropic`?await M({baseUrl:o,apiKey:c,modelId:u}):await j({baseUrl:o,apiKey:c,modelId:u});if(a.ok){r.stop(`Verification successful.`);break}a.status===void 0?r.stop(`Verification failed: ${D(a.error)}`):r.stop(`Verification failed: status ${a.status}`);let f=await P(n);({baseUrl:o,apiKey:s,resolvedApiKey:c,modelId:u}=await I({prompter:n,config:i,secretInputMode:e.secretInputMode,retryChoice:f,current:{baseUrl:o,apiKey:s,resolvedApiKey:c,modelId:u}})),l===`unknown`&&(d=null)}let f=i.models?.providers??{},p=x(o),m=await n.text({message:`Endpoint ID`,initialValue:p,placeholder:`custom`,validate:e=>{if(!b(e))return`Endpoint ID is required.`}}),h=await n.text({message:`Model alias (optional)`,placeholder:`e.g. local, ollama`,initialValue:``,validate:e=>C({raw:e,cfg:i,modelRef:t(S({requestedId:b(m)||`custom`,baseUrl:o,providers:f}).providerId,u)})}),g=V({config:i,baseUrl:o,modelId:u,compatibility:d??`openai`,apiKey:s,providerId:m,alias:h});return g.providerIdRenamedFrom&&g.providerId&&await n.note(`Endpoint ID "${g.providerIdRenamedFrom}" already exists for a different base URL. Using "${g.providerId}".`,`Endpoint ID`),r.log(`Configured custom provider: ${g.providerId}/${g.modelId}`),g}export{H as a,B as i,V as n,z as o,p as r,v as t};
3
+ //# sourceMappingURL=onboard-custom-Bl0y8c-g.js.map
@@ -3,3 +3,4 @@ import{t as e}from"./rolldown-runtime-CNxR59P3.js";import{t}from"./paths-BjD3T_x
3
3
  `);e.log(t)}function R(e,t){let n=process.env.GIT_COMMIT?.trim()||process.env.GIT_SHA?.trim()||void 0;return{...e,wizard:{...e.wizard,lastRunAt:new Date().toISOString(),lastRunVersion:ee,lastRunCommit:n,lastRunCommand:t.command,lastRunMode:t.mode}}}async function z(){let e=process.platform,t=!!(process.env.DISPLAY||process.env.WAYLAND_DISPLAY);if((process.env.SSH_CLIENT||process.env.SSH_TTY||process.env.SSH_CONNECTION)&&!t&&e!==`win32`)return{argv:null,reason:`ssh-no-display`};if(e===`win32`)return{argv:[`cmd`,`/c`,`start`,``],command:`cmd`,quoteUrl:!0};if(e===`darwin`)return await J(`open`)?{argv:[`open`],command:`open`}:{argv:null,reason:`missing-open`};if(e===`linux`){let e=await te();if(!t&&!e)return{argv:null,reason:`no-display`};if(e){if(await J(`wslview`))return{argv:[`wslview`],command:`wslview`};if(!t)return{argv:null,reason:`wsl-no-wslview`}}return await J(`xdg-open`)?{argv:[`xdg-open`],command:`xdg-open`}:{argv:null,reason:`missing-xdg-open`}}return{argv:null,reason:`unsupported-platform`}}async function B(){let e=await z();return e.argv?{ok:!0,command:e.command}:{ok:!1,reason:e.reason}}function V(e){let t=O(e.basePath),n=t?`${t}/`:`/`,r=`http://localhost:${e.port}${n}`,i=e.token?`${r}#token=${encodeURIComponent(e.token)}`:void 0,a=H();return[`No GUI detected. Open from your computer:`,`ssh -N -L ${e.port}:127.0.0.1:${e.port} ${a}`,`Then open:`,r,i,`Docs:`,`https://docs.openclaw.ai/gateway/remote`,`https://docs.openclaw.ai/web/control-ui`].filter(Boolean).join(`
4
4
  `)}function H(){return`${process.env.USER||process.env.LOGNAME||`user`}@${process.env.SSH_CONNECTION?.trim().split(/\s+/)?.[2]??`<host>`}`}async function U(e){if(Y())return!1;let t=await z();if(!t.argv)return!1;let n=t.quoteUrl===!0,r=[...t.argv];n?(r.at(-1)===``&&(r[r.length-1]=`""`),r.push(`"${e}"`)):r.push(e);try{return await y(r,{timeoutMs:5e3,windowsVerbatimArguments:n}),!0}catch{return!1}}async function W(e,t,n){let r=await d({dir:e,ensureBootstrapFiles:!n?.skipBootstrap});t.log(`Workspace OK: ${v(r.dir)}`);let i=b(n?.agentId);await w.mkdir(i,{recursive:!0}),t.log(`Sessions OK: ${v(i)}`)}function G(){return[{value:`npm`,label:`npm`},{value:`pnpm`,label:`pnpm`},{value:`bun`,label:`bun`}]}async function K(e,t){if(e){try{await w.access(e)}catch{return}try{await y([`trash`,e],{timeoutMs:5e3}),t.log(`Moved to Trash: ${v(e)}`)}catch{t.log(`Failed to move to Trash (manual delete): ${v(e)}`)}}}async function q(e,n,r){await K(t,r),e!==`config`&&(await K(C.join(g,`credentials`),r),await K(b(),r),e===`full`&&await K(n,r))}async function J(e){if(!e?.trim()||!i(e))return!1;let t=e.startsWith(`~`)?_(e):e;if(C.isAbsolute(t)||t.startsWith(`.`)||t.includes(`/`)||t.includes(`\\`))try{return await w.access(t),!0}catch{return!1}let n=process.platform===`win32`?[`where`,e]:[`/usr/bin/env`,`which`,e];try{let e=await y(n,{timeoutMs:2e3});return e.code===0&&e.stdout.trim().length>0}catch{return!1}}function Y(){return!!process.env.VITEST}async function X(e){let t=e.url.trim(),n=e.timeoutMs??1500;try{return await x({url:t,token:e.token,password:e.password,method:`health`,timeoutMs:n,clientName:u.PROBE,mode:c.PROBE}),{ok:!0}}catch(e){return{ok:!1,detail:ie(e)}}}async function Z(e){let t=e.deadlineMs??15e3,n=e.pollMs??400,r=e.probeTimeoutMs??1500,i=Date.now(),a;for(;Date.now()-i<t;){let t=await X({url:e.url,token:e.token,password:e.password,timeoutMs:r});if(t.ok)return t;a=t.detail,await m(n)}return{ok:!1,detail:a}}function ie(e){let t=`unknown error`;e instanceof Error?t=e.message||t:typeof e==`string`?t=e||t:e!==void 0&&(t=ne(e,{depth:2}));let n=t.split(`
5
5
  `).map(e=>e.trim()).find(Boolean)??t;return n.length>120?`${n.slice(0,119)}…`:n}const Q=p;function $(e){let t=e.port,r=e.bind??`loopback`,i=e.customBindHost?.trim(),a=n(),o=r===`custom`&&i&&s(i)?i:r===`tailnet`&&a?a??`127.0.0.1`:r===`lan`?l()??`127.0.0.1`:`127.0.0.1`,c=O(e.basePath),u=c?`${c}/`:`/`,d=c||``;return{httpUrl:`http://${o}:${t}${u}`,wsUrl:`ws://${o}:${t}${d}`}}export{O as C,k as S,G as _,W as a,Z as b,q as c,j as d,U as f,$ as g,P as h,B as i,K as l,X as m,R as n,V as o,L as p,J as r,M as s,Q as t,F as u,N as v,A as w,D as x,I as y};
6
+ //# sourceMappingURL=onboard-helpers-PGl5bVPE.js.map
@@ -3,3 +3,4 @@ import{t as e}from"./rolldown-runtime-CNxR59P3.js";import{t}from"./paths-B4IRk3w
3
3
  `);e.log(t)}function R(e,t){let n=process.env.GIT_COMMIT?.trim()||process.env.GIT_SHA?.trim()||void 0;return{...e,wizard:{...e.wizard,lastRunAt:new Date().toISOString(),lastRunVersion:c,lastRunCommit:n,lastRunCommand:t.command,lastRunMode:t.mode}}}async function z(){let e=process.platform,t=!!(process.env.DISPLAY||process.env.WAYLAND_DISPLAY);if((process.env.SSH_CLIENT||process.env.SSH_TTY||process.env.SSH_CONNECTION)&&!t&&e!==`win32`)return{argv:null,reason:`ssh-no-display`};if(e===`win32`)return{argv:[`cmd`,`/c`,`start`,``],command:`cmd`,quoteUrl:!0};if(e===`darwin`)return await J(`open`)?{argv:[`open`],command:`open`}:{argv:null,reason:`missing-open`};if(e===`linux`){let e=await x();if(!t&&!e)return{argv:null,reason:`no-display`};if(e){if(await J(`wslview`))return{argv:[`wslview`],command:`wslview`};if(!t)return{argv:null,reason:`wsl-no-wslview`}}return await J(`xdg-open`)?{argv:[`xdg-open`],command:`xdg-open`}:{argv:null,reason:`missing-xdg-open`}}return{argv:null,reason:`unsupported-platform`}}async function B(){let e=await z();return e.argv?{ok:!0,command:e.command}:{ok:!1,reason:e.reason}}function V(e){let t=A(e.basePath),n=t?`${t}/`:`/`,r=`http://localhost:${e.port}${n}`,i=e.token?`${r}#token=${encodeURIComponent(e.token)}`:void 0,a=H();return[`No GUI detected. Open from your computer:`,`ssh -N -L ${e.port}:127.0.0.1:${e.port} ${a}`,`Then open:`,r,i,`Docs:`,`https://docs.openclaw.ai/gateway/remote`,`https://docs.openclaw.ai/web/control-ui`].filter(Boolean).join(`
4
4
  `)}function H(){return`${process.env.USER||process.env.LOGNAME||`user`}@${process.env.SSH_CONNECTION?.trim().split(/\s+/)?.[2]??`<host>`}`}async function U(e){if(Y())return!1;let t=await z();if(!t.argv)return!1;let n=t.quoteUrl===!0,r=[...t.argv];n?(r.at(-1)===``&&(r[r.length-1]=`""`),r.push(`"${e}"`)):r.push(e);try{return await v(r,{timeoutMs:5e3,windowsVerbatimArguments:n}),!0}catch{return!1}}async function W(e,t,n){let i=await h({dir:e,ensureBootstrapFiles:!n?.skipBootstrap});t.log(`Workspace OK: ${r(i.dir)}`);let a=y(n?.agentId);await T.mkdir(a,{recursive:!0}),t.log(`Sessions OK: ${r(a)}`)}function G(){return[{value:`npm`,label:`npm`},{value:`pnpm`,label:`pnpm`},{value:`bun`,label:`bun`}]}async function K(e,t){if(e){try{await T.access(e)}catch{return}try{await v([`trash`,e],{timeoutMs:5e3}),t.log(`Moved to Trash: ${r(e)}`)}catch{t.log(`Failed to move to Trash (manual delete): ${r(e)}`)}}}async function q(e,n,r){await K(t,r),e!==`config`&&(await K(C.join(i,`credentials`),r),await K(y(),r),e===`full`&&await K(n,r))}async function J(e){if(!e?.trim()||!p(e))return!1;let t=e.startsWith(`~`)?o(e):e;if(C.isAbsolute(t)||t.startsWith(`.`)||t.includes(`/`)||t.includes(`\\`))try{return await T.access(t),!0}catch{return!1}let n=process.platform===`win32`?[`where`,e]:[`/usr/bin/env`,`which`,e];try{let e=await v(n,{timeoutMs:2e3});return e.code===0&&e.stdout.trim().length>0}catch{return!1}}function Y(){return!!process.env.VITEST}async function X(e){let t=e.url.trim(),n=e.timeoutMs??1500;try{return await b({url:t,token:e.token,password:e.password,method:`health`,timeoutMs:n,clientName:d.PROBE,mode:m.PROBE}),{ok:!0}}catch(e){return{ok:!1,detail:ie(e)}}}async function Z(e){let t=e.deadlineMs??15e3,r=e.pollMs??400,i=e.probeTimeoutMs??1500,a=Date.now(),o;for(;Date.now()-a<t;){let t=await X({url:e.url,token:e.token,password:e.password,timeoutMs:i});if(t.ok)return t;o=t.detail,await n(r)}return{ok:!1,detail:o}}function ie(e){let t=`unknown error`;e instanceof Error?t=e.message||t:typeof e==`string`?t=e||t:e!==void 0&&(t=w(e,{depth:2}));let n=t.split(`
5
5
  `).map(e=>e.trim()).find(Boolean)??t;return n.length>120?`${n.slice(0,119)}…`:n}const Q=_;function $(e){let t=e.port,n=e.bind??`loopback`,r=e.customBindHost?.trim(),i=s(),a=n===`custom`&&r&&te(r)?r:n===`tailnet`&&i?i??`127.0.0.1`:n===`lan`?ee()??`127.0.0.1`:`127.0.0.1`,o=A(e.basePath),c=o?`${o}/`:`/`,l=o||``;return{httpUrl:`http://${a}:${t}${c}`,wsUrl:`ws://${a}:${t}${l}`}}export{A as C,j as S,G as _,W as a,Z as b,q as c,re as d,U as f,$ as g,P as h,B as i,K as l,X as m,R as n,V as o,L as p,J as r,M as s,Q as t,F as u,N as v,ne as w,k as x,I as y};
6
+ //# sourceMappingURL=onboard-helpers-zwybUJWu.js.map
@@ -1,3 +1,4 @@
1
1
  import"./paths-B4IRk3wi.js";import"./subsystem-C5XF2Fy5.js";import"./utils-UGOV_184.js";import{d as e,f as t}from"./agent-scope-DXZc3eNT.js";import"./openclaw-root-D_0Q6--h.js";import{t as n}from"./command-format-BbDT1tlm.js";import"./boolean-Ch3DfXPy.js";import"./frontmatter-BkZkwkVO.js";import"./workspace-C45T1Cxg.js";import{t as r}from"./hooks-status-CRJ4J0ZW.js";async function i(i,a,o){await o.note([`Hooks let you automate actions when agent commands are issued.`,`Example: Save session context to memory when you issue /new or /reset.`,``,`Learn more: https://docs.openclaw.ai/automation/hooks`].join(`
2
2
  `),`Hooks`);let s=r(e(i,t(i)),{config:i}).hooks.filter(e=>e.eligible);if(s.length===0)return await o.note(`No eligible hooks found. You can configure hooks later in your config.`,`No Hooks Available`),i;let c=(await o.multiselect({message:`Enable hooks?`,options:[{value:`__skip__`,label:`Skip for now`},...s.map(e=>({value:e.name,label:`${e.emoji??`🔗`} ${e.name}`,hint:e.description}))]})).filter(e=>e!==`__skip__`);if(c.length===0)return i;let l={...i.hooks?.internal?.entries};for(let e of c)l[e]={enabled:!0};let u={...i,hooks:{...i.hooks,internal:{enabled:!0,entries:l}}};return await o.note([`Enabled ${c.length} hook${c.length>1?`s`:``}: ${c.join(`, `)}`,``,`You can manage hooks later with:`,` ${n(`openclaw hooks list`)}`,` ${n(`openclaw hooks enable <name>`)}`,` ${n(`openclaw hooks disable <name>`)}`].join(`
3
3
  `),`Hooks Configured`),u}export{i as setupInternalHooks};
4
+ //# sourceMappingURL=onboard-hooks-CERzXObm.js.map
@@ -1,3 +1,4 @@
1
1
  import"./subsystem-BLbY429l.js";import"./paths-BjD3T_xq.js";import"./boolean-D15s2V33.js";import{t as e}from"./command-format-CLxIPuLR.js";import{d as t,f as n}from"./agent-scope-DAWJwFfl.js";import"./utils-CGdo13HV.js";import"./openclaw-root-CnsBf6ZU.js";import"./frontmatter-C7mzDNxd.js";import"./workspace-xNEpaJvu.js";import{t as r}from"./hooks-status-BHt-Xvh4.js";async function i(i,a,o){await o.note([`Hooks let you automate actions when agent commands are issued.`,`Example: Save session context to memory when you issue /new or /reset.`,``,`Learn more: https://docs.openclaw.ai/automation/hooks`].join(`
2
2
  `),`Hooks`);let s=r(t(i,n(i)),{config:i}).hooks.filter(e=>e.eligible);if(s.length===0)return await o.note(`No eligible hooks found. You can configure hooks later in your config.`,`No Hooks Available`),i;let c=(await o.multiselect({message:`Enable hooks?`,options:[{value:`__skip__`,label:`Skip for now`},...s.map(e=>({value:e.name,label:`${e.emoji??`🔗`} ${e.name}`,hint:e.description}))]})).filter(e=>e!==`__skip__`);if(c.length===0)return i;let l={...i.hooks?.internal?.entries};for(let e of c)l[e]={enabled:!0};let u={...i,hooks:{...i.hooks,internal:{enabled:!0,entries:l}}};return await o.note([`Enabled ${c.length} hook${c.length>1?`s`:``}: ${c.join(`, `)}`,``,`You can manage hooks later with:`,` ${e(`openclaw hooks list`)}`,` ${e(`openclaw hooks enable <name>`)}`,` ${e(`openclaw hooks disable <name>`)}`].join(`
3
3
  `),`Hooks Configured`),u}export{i as setupInternalHooks};
4
+ //# sourceMappingURL=onboard-hooks-gQ3sxBNi.js.map
@@ -1 +1,2 @@
1
1
  const e=[`setup-token`,`oauth`,`claude-cli`,`codex-cli`,`minimax-cloud`,`minimax`];function t(e){return e===`oauth`||e===`claude-cli`?`setup-token`:e===`codex-cli`?`openai-codex`:e}function n(e){return e===`claude-cli`||e===`codex-cli`}const r=[{optionKey:`anthropicApiKey`,authChoice:`apiKey`,cliFlag:`--anthropic-api-key`,cliOption:`--anthropic-api-key <key>`,description:`Anthropic API key`},{optionKey:`openaiApiKey`,authChoice:`openai-api-key`,cliFlag:`--openai-api-key`,cliOption:`--openai-api-key <key>`,description:`OpenAI API key`},{optionKey:`mistralApiKey`,authChoice:`mistral-api-key`,cliFlag:`--mistral-api-key`,cliOption:`--mistral-api-key <key>`,description:`Mistral API key`},{optionKey:`openrouterApiKey`,authChoice:`openrouter-api-key`,cliFlag:`--openrouter-api-key`,cliOption:`--openrouter-api-key <key>`,description:`OpenRouter API key`},{optionKey:`kilocodeApiKey`,authChoice:`kilocode-api-key`,cliFlag:`--kilocode-api-key`,cliOption:`--kilocode-api-key <key>`,description:`Kilo Gateway API key`},{optionKey:`aiGatewayApiKey`,authChoice:`ai-gateway-api-key`,cliFlag:`--ai-gateway-api-key`,cliOption:`--ai-gateway-api-key <key>`,description:`Vercel AI Gateway API key`},{optionKey:`cloudflareAiGatewayApiKey`,authChoice:`cloudflare-ai-gateway-api-key`,cliFlag:`--cloudflare-ai-gateway-api-key`,cliOption:`--cloudflare-ai-gateway-api-key <key>`,description:`Cloudflare AI Gateway API key`},{optionKey:`moonshotApiKey`,authChoice:`moonshot-api-key`,cliFlag:`--moonshot-api-key`,cliOption:`--moonshot-api-key <key>`,description:`Moonshot API key`},{optionKey:`kimiCodeApiKey`,authChoice:`kimi-code-api-key`,cliFlag:`--kimi-code-api-key`,cliOption:`--kimi-code-api-key <key>`,description:`Kimi Coding API key`},{optionKey:`geminiApiKey`,authChoice:`gemini-api-key`,cliFlag:`--gemini-api-key`,cliOption:`--gemini-api-key <key>`,description:`Gemini API key`},{optionKey:`zaiApiKey`,authChoice:`zai-api-key`,cliFlag:`--zai-api-key`,cliOption:`--zai-api-key <key>`,description:`Z.AI API key`},{optionKey:`xiaomiApiKey`,authChoice:`xiaomi-api-key`,cliFlag:`--xiaomi-api-key`,cliOption:`--xiaomi-api-key <key>`,description:`Xiaomi API key`},{optionKey:`minimaxApiKey`,authChoice:`minimax-api`,cliFlag:`--minimax-api-key`,cliOption:`--minimax-api-key <key>`,description:`MiniMax API key`},{optionKey:`syntheticApiKey`,authChoice:`synthetic-api-key`,cliFlag:`--synthetic-api-key`,cliOption:`--synthetic-api-key <key>`,description:`Synthetic API key`},{optionKey:`veniceApiKey`,authChoice:`venice-api-key`,cliFlag:`--venice-api-key`,cliOption:`--venice-api-key <key>`,description:`Venice API key`},{optionKey:`togetherApiKey`,authChoice:`together-api-key`,cliFlag:`--together-api-key`,cliOption:`--together-api-key <key>`,description:`Together AI API key`},{optionKey:`huggingfaceApiKey`,authChoice:`huggingface-api-key`,cliFlag:`--huggingface-api-key`,cliOption:`--huggingface-api-key <key>`,description:`Hugging Face API key (HF token)`},{optionKey:`opencodeZenApiKey`,authChoice:`opencode-zen`,cliFlag:`--opencode-zen-api-key`,cliOption:`--opencode-zen-api-key <key>`,description:`OpenCode API key (Zen catalog)`},{optionKey:`opencodeGoApiKey`,authChoice:`opencode-go`,cliFlag:`--opencode-go-api-key`,cliOption:`--opencode-go-api-key <key>`,description:`OpenCode API key (Go catalog)`},{optionKey:`xaiApiKey`,authChoice:`xai-api-key`,cliFlag:`--xai-api-key`,cliOption:`--xai-api-key <key>`,description:`xAI API key`},{optionKey:`litellmApiKey`,authChoice:`litellm-api-key`,cliFlag:`--litellm-api-key`,cliOption:`--litellm-api-key <key>`,description:`LiteLLM API key`},{optionKey:`qianfanApiKey`,authChoice:`qianfan-api-key`,cliFlag:`--qianfan-api-key`,cliOption:`--qianfan-api-key <key>`,description:`QIANFAN API key`},{optionKey:`modelstudioApiKeyCn`,authChoice:`modelstudio-api-key-cn`,cliFlag:`--modelstudio-api-key-cn`,cliOption:`--modelstudio-api-key-cn <key>`,description:`Alibaba Cloud Model Studio Coding Plan API key (China)`},{optionKey:`modelstudioApiKey`,authChoice:`modelstudio-api-key`,cliFlag:`--modelstudio-api-key`,cliOption:`--modelstudio-api-key <key>`,description:`Alibaba Cloud Model Studio Coding Plan API key (Global/Intl)`},{optionKey:`volcengineApiKey`,authChoice:`volcengine-api-key`,cliFlag:`--volcengine-api-key`,cliOption:`--volcengine-api-key <key>`,description:`Volcano Engine API key`},{optionKey:`byteplusApiKey`,authChoice:`byteplus-api-key`,cliFlag:`--byteplus-api-key`,cliOption:`--byteplus-api-key <key>`,description:`BytePlus API key`}];export{t as i,e as n,n as r,r as t};
2
+ //# sourceMappingURL=onboard-provider-auth-flags-CqbipO7D.js.map
@@ -1 +1,2 @@
1
1
  const e=[`setup-token`,`oauth`,`claude-cli`,`codex-cli`,`minimax-cloud`,`minimax`];function t(e){return e===`oauth`||e===`claude-cli`?`setup-token`:e===`codex-cli`?`openai-codex`:e}function n(e){return e===`claude-cli`||e===`codex-cli`}const r=[{optionKey:`anthropicApiKey`,authChoice:`apiKey`,cliFlag:`--anthropic-api-key`,cliOption:`--anthropic-api-key <key>`,description:`Anthropic API key`},{optionKey:`openaiApiKey`,authChoice:`openai-api-key`,cliFlag:`--openai-api-key`,cliOption:`--openai-api-key <key>`,description:`OpenAI API key`},{optionKey:`mistralApiKey`,authChoice:`mistral-api-key`,cliFlag:`--mistral-api-key`,cliOption:`--mistral-api-key <key>`,description:`Mistral API key`},{optionKey:`openrouterApiKey`,authChoice:`openrouter-api-key`,cliFlag:`--openrouter-api-key`,cliOption:`--openrouter-api-key <key>`,description:`OpenRouter API key`},{optionKey:`kilocodeApiKey`,authChoice:`kilocode-api-key`,cliFlag:`--kilocode-api-key`,cliOption:`--kilocode-api-key <key>`,description:`Kilo Gateway API key`},{optionKey:`aiGatewayApiKey`,authChoice:`ai-gateway-api-key`,cliFlag:`--ai-gateway-api-key`,cliOption:`--ai-gateway-api-key <key>`,description:`Vercel AI Gateway API key`},{optionKey:`cloudflareAiGatewayApiKey`,authChoice:`cloudflare-ai-gateway-api-key`,cliFlag:`--cloudflare-ai-gateway-api-key`,cliOption:`--cloudflare-ai-gateway-api-key <key>`,description:`Cloudflare AI Gateway API key`},{optionKey:`moonshotApiKey`,authChoice:`moonshot-api-key`,cliFlag:`--moonshot-api-key`,cliOption:`--moonshot-api-key <key>`,description:`Moonshot API key`},{optionKey:`kimiCodeApiKey`,authChoice:`kimi-code-api-key`,cliFlag:`--kimi-code-api-key`,cliOption:`--kimi-code-api-key <key>`,description:`Kimi Coding API key`},{optionKey:`geminiApiKey`,authChoice:`gemini-api-key`,cliFlag:`--gemini-api-key`,cliOption:`--gemini-api-key <key>`,description:`Gemini API key`},{optionKey:`zaiApiKey`,authChoice:`zai-api-key`,cliFlag:`--zai-api-key`,cliOption:`--zai-api-key <key>`,description:`Z.AI API key`},{optionKey:`xiaomiApiKey`,authChoice:`xiaomi-api-key`,cliFlag:`--xiaomi-api-key`,cliOption:`--xiaomi-api-key <key>`,description:`Xiaomi API key`},{optionKey:`minimaxApiKey`,authChoice:`minimax-api`,cliFlag:`--minimax-api-key`,cliOption:`--minimax-api-key <key>`,description:`MiniMax API key`},{optionKey:`syntheticApiKey`,authChoice:`synthetic-api-key`,cliFlag:`--synthetic-api-key`,cliOption:`--synthetic-api-key <key>`,description:`Synthetic API key`},{optionKey:`veniceApiKey`,authChoice:`venice-api-key`,cliFlag:`--venice-api-key`,cliOption:`--venice-api-key <key>`,description:`Venice API key`},{optionKey:`togetherApiKey`,authChoice:`together-api-key`,cliFlag:`--together-api-key`,cliOption:`--together-api-key <key>`,description:`Together AI API key`},{optionKey:`huggingfaceApiKey`,authChoice:`huggingface-api-key`,cliFlag:`--huggingface-api-key`,cliOption:`--huggingface-api-key <key>`,description:`Hugging Face API key (HF token)`},{optionKey:`opencodeZenApiKey`,authChoice:`opencode-zen`,cliFlag:`--opencode-zen-api-key`,cliOption:`--opencode-zen-api-key <key>`,description:`OpenCode API key (Zen catalog)`},{optionKey:`opencodeGoApiKey`,authChoice:`opencode-go`,cliFlag:`--opencode-go-api-key`,cliOption:`--opencode-go-api-key <key>`,description:`OpenCode API key (Go catalog)`},{optionKey:`xaiApiKey`,authChoice:`xai-api-key`,cliFlag:`--xai-api-key`,cliOption:`--xai-api-key <key>`,description:`xAI API key`},{optionKey:`litellmApiKey`,authChoice:`litellm-api-key`,cliFlag:`--litellm-api-key`,cliOption:`--litellm-api-key <key>`,description:`LiteLLM API key`},{optionKey:`qianfanApiKey`,authChoice:`qianfan-api-key`,cliFlag:`--qianfan-api-key`,cliOption:`--qianfan-api-key <key>`,description:`QIANFAN API key`},{optionKey:`modelstudioApiKeyCn`,authChoice:`modelstudio-api-key-cn`,cliFlag:`--modelstudio-api-key-cn`,cliOption:`--modelstudio-api-key-cn <key>`,description:`Alibaba Cloud Model Studio Coding Plan API key (China)`},{optionKey:`modelstudioApiKey`,authChoice:`modelstudio-api-key`,cliFlag:`--modelstudio-api-key`,cliOption:`--modelstudio-api-key <key>`,description:`Alibaba Cloud Model Studio Coding Plan API key (Global/Intl)`},{optionKey:`volcengineApiKey`,authChoice:`volcengine-api-key`,cliFlag:`--volcengine-api-key`,cliOption:`--volcengine-api-key <key>`,description:`Volcano Engine API key`},{optionKey:`byteplusApiKey`,authChoice:`byteplus-api-key`,cliFlag:`--byteplus-api-key`,cliOption:`--byteplus-api-key <key>`,description:`BytePlus API key`}];export{t as i,e as n,n as r,r as t};
2
+ //# sourceMappingURL=onboard-provider-auth-flags-Dvwzdz37.js.map
@@ -2,3 +2,4 @@ import{t as e}from"./rolldown-runtime-CNxR59P3.js";import{na as t}from"./auth-pr
2
2
  `),`Discovery`),g){let n=a({configDomain:e.discovery?.wideArea?.domain}),r=t.progress(`Searching for gateways…`),i=await o({timeoutMs:2e3,wideAreaDomain:n});if(r.stop(i.length>0?`Found ${i.length} gateway(s)`:`No gateways found`),i.length>0){let e=await t.select({message:`Select gateway`,options:[...i.map((e,t)=>({value:String(t),label:u(e)})),{value:`manual`,label:`Enter URL manually`}]});if(e!==`manual`){let t=Number.parseInt(String(e),10);p=Number.isFinite(t)?i[t]??null:null}}}if(p){let e=l(p),n=p.port??p.gatewayPort??18789;e&&(await t.select({message:`Connection method`,options:[{value:`direct`,label:`Direct gateway WS (${e}:${n})`},{value:`ssh`,label:`SSH tunnel (loopback)`}]})===`direct`?(m=`wss://${e}:${n}`,await t.note([`Direct remote access defaults to TLS.`,`Using: ${m}`,`If your gateway is loopback-only, choose SSH tunnel and keep ws://127.0.0.1:18789.`].join(`
3
3
  `),`Direct remote`)):(m=c,await t.note([`Start a tunnel before using the CLI:`,`ssh -N -L 18789:127.0.0.1:18789 <user>@${e}${p.sshPort?` -p ${p.sshPort}`:``}`,`Docs: https://docs.openclaw.ai/gateway/remote`].join(`
4
4
  `),`SSH tunnel`)))}let _=await t.text({message:`Gateway WebSocket URL`,initialValue:m,validate:e=>f(String(e))}),v=d(String(_)),y=await t.select({message:`Gateway auth`,options:[{value:`token`,label:`Token (recommended)`},{value:`password`,label:`Password`},{value:`off`,label:`No auth`}]}),b=e.gateway?.remote?.token,x=e.gateway?.remote?.password;return y===`token`?(b=await r({prompter:t,explicitMode:s?.secretInputMode,copy:{modeMessage:`How do you want to provide this gateway token?`,plaintextLabel:`Enter token now`,plaintextHint:`Stores the token directly in OpenClaw config`}})===`ref`?(await i({provider:`gateway-remote-token`,config:e,prompter:t,preferredEnvVar:`OPENCLAW_GATEWAY_TOKEN`,copy:{sourceMessage:`Where is this gateway token stored?`,envVarPlaceholder:`OPENCLAW_GATEWAY_TOKEN`}})).ref:String(await t.text({message:`Gateway token`,initialValue:typeof b==`string`?b:void 0,validate:e=>e?.trim()?void 0:`Required`})).trim(),x=void 0):y===`password`?(x=await r({prompter:t,explicitMode:s?.secretInputMode,copy:{modeMessage:`How do you want to provide this gateway password?`,plaintextLabel:`Enter password now`,plaintextHint:`Stores the password directly in OpenClaw config`}})===`ref`?(await i({provider:`gateway-remote-password`,config:e,prompter:t,preferredEnvVar:`OPENCLAW_GATEWAY_PASSWORD`,copy:{sourceMessage:`Where is this gateway password stored?`,envVarPlaceholder:`OPENCLAW_GATEWAY_PASSWORD`}})).ref:String(await t.text({message:`Gateway password`,initialValue:typeof x==`string`?x:void 0,validate:e=>e?.trim()?void 0:`Required`})).trim(),b=void 0):(b=void 0,x=void 0),{...e,gateway:{...e.gateway,mode:`remote`,remote:{url:v,...b===void 0?{}:{token:b},...x===void 0?{}:{password:x}}}}}export{p as n,s as t};
5
+ //# sourceMappingURL=onboard-remote-BOpIRdDu.js.map
@@ -2,3 +2,4 @@ import{t as e}from"./rolldown-runtime-CNxR59P3.js";import{_o as t}from"./model-s
2
2
  `),`Discovery`),g){let n=a({configDomain:e.discovery?.wideArea?.domain}),r=t.progress(`Searching for gateways…`),i=await o({timeoutMs:2e3,wideAreaDomain:n});if(r.stop(i.length>0?`Found ${i.length} gateway(s)`:`No gateways found`),i.length>0){let e=await t.select({message:`Select gateway`,options:[...i.map((e,t)=>({value:String(t),label:u(e)})),{value:`manual`,label:`Enter URL manually`}]});if(e!==`manual`){let t=Number.parseInt(String(e),10);p=Number.isFinite(t)?i[t]??null:null}}}if(p){let e=l(p),n=p.port??p.gatewayPort??18789;e&&(await t.select({message:`Connection method`,options:[{value:`direct`,label:`Direct gateway WS (${e}:${n})`},{value:`ssh`,label:`SSH tunnel (loopback)`}]})===`direct`?(m=`wss://${e}:${n}`,await t.note([`Direct remote access defaults to TLS.`,`Using: ${m}`,`If your gateway is loopback-only, choose SSH tunnel and keep ws://127.0.0.1:18789.`].join(`
3
3
  `),`Direct remote`)):(m=c,await t.note([`Start a tunnel before using the CLI:`,`ssh -N -L 18789:127.0.0.1:18789 <user>@${e}${p.sshPort?` -p ${p.sshPort}`:``}`,`Docs: https://docs.openclaw.ai/gateway/remote`].join(`
4
4
  `),`SSH tunnel`)))}let _=await t.text({message:`Gateway WebSocket URL`,initialValue:m,validate:e=>f(String(e))}),v=d(String(_)),y=await t.select({message:`Gateway auth`,options:[{value:`token`,label:`Token (recommended)`},{value:`password`,label:`Password`},{value:`off`,label:`No auth`}]}),b=e.gateway?.remote?.token,x=e.gateway?.remote?.password;return y===`token`?(b=await r({prompter:t,explicitMode:s?.secretInputMode,copy:{modeMessage:`How do you want to provide this gateway token?`,plaintextLabel:`Enter token now`,plaintextHint:`Stores the token directly in OpenClaw config`}})===`ref`?(await i({provider:`gateway-remote-token`,config:e,prompter:t,preferredEnvVar:`OPENCLAW_GATEWAY_TOKEN`,copy:{sourceMessage:`Where is this gateway token stored?`,envVarPlaceholder:`OPENCLAW_GATEWAY_TOKEN`}})).ref:String(await t.text({message:`Gateway token`,initialValue:typeof b==`string`?b:void 0,validate:e=>e?.trim()?void 0:`Required`})).trim(),x=void 0):y===`password`?(x=await r({prompter:t,explicitMode:s?.secretInputMode,copy:{modeMessage:`How do you want to provide this gateway password?`,plaintextLabel:`Enter password now`,plaintextHint:`Stores the password directly in OpenClaw config`}})===`ref`?(await i({provider:`gateway-remote-password`,config:e,prompter:t,preferredEnvVar:`OPENCLAW_GATEWAY_PASSWORD`,copy:{sourceMessage:`Where is this gateway password stored?`,envVarPlaceholder:`OPENCLAW_GATEWAY_PASSWORD`}})).ref:String(await t.text({message:`Gateway password`,initialValue:typeof x==`string`?x:void 0,validate:e=>e?.trim()?void 0:`Required`})).trim(),b=void 0):(b=void 0,x=void 0),{...e,gateway:{...e.gateway,mode:`remote`,remote:{url:v,...b===void 0?{}:{token:b},...x===void 0?{}:{password:x}}}}}export{p as n,s as t};
5
+ //# sourceMappingURL=onboard-remote-DPU-H_2O.js.map
@@ -2,3 +2,4 @@ import{a as e,l as t,t as n}from"./types.secrets-C-5U96pc.js";const r=[{value:`b
2
2
  `),`Web search`);let p=e.tools?.web?.search?.provider,m=r.map(t=>{let n=s(e,t.value)||i(t)?`${t.hint} · configured`:t.hint;return{value:t.value,label:t.label,hint:n}}),h=(()=>{if(p&&r.some(e=>e.value===p))return p;let t=r.find(t=>s(e,t.value)||i(t));return t?t.value:r[0].value})(),g=await n.select({message:`Search provider`,options:[...m,{value:`__skip__`,label:`Skip for now`,hint:`Configure later with openclaw configure --section web`}],initialValue:h});if(g===`__skip__`)return e;let _=r.find(e=>e.value===g),v=o(e,g),y=s(e,g),b=i(_);if(a?.quickstartDefaults&&(y||b))return f(e,v?u(e,g,v):d(e,g));if(a?.secretInputMode===`ref`){if(y)return f(e,d(e,g));let t=c(g);return await n.note([`Secret references enabled — OpenClaw will store a reference instead of the API key.`,`Env var: ${t.id}${b?` (detected)`:``}.`,...b?[]:[`Set ${t.id} in the Gateway environment.`],`Docs: https://docs.openclaw.ai/tools/web`].join(`
3
3
  `),`Web search`),u(e,g,t)}let x=(await n.text({message:y?`${_.label} API key (leave blank to keep current)`:b?`${_.label} API key (leave blank to use env var)`:`${_.label} API key`,placeholder:y?`Leave blank to keep current`:_.placeholder}))?.trim()??``;return x?u(e,g,l(g,x,a?.secretInputMode)):v?f(e,u(e,g,v)):y||b?f(e,d(e,g)):(await n.note([`No API key stored — web_search won't work until a key is available.`,`Get your key at: ${_.signupUrl}`,`Docs: https://docs.openclaw.ai/tools/web`].join(`
4
4
  `),`Web search`),{...e,tools:{...e.tools,web:{...e.tools?.web,search:{...e.tools?.web?.search,provider:g}}}})}export{r as SEARCH_PROVIDER_OPTIONS,u as applySearchKey,s as hasExistingKey,i as hasKeyInEnv,o as resolveExistingKey,p as setupSearch};
5
+ //# sourceMappingURL=onboard-search-f2tJD4hg.js.map
@@ -2,3 +2,4 @@ import{a as e,l as t,t as n}from"./types.secrets-D4tbc3Wq.js";const r=[{value:`b
2
2
  `),`Web search`);let p=e.tools?.web?.search?.provider,m=r.map(t=>{let n=s(e,t.value)||i(t)?`${t.hint} · configured`:t.hint;return{value:t.value,label:t.label,hint:n}}),h=(()=>{if(p&&r.some(e=>e.value===p))return p;let t=r.find(t=>s(e,t.value)||i(t));return t?t.value:r[0].value})(),g=await n.select({message:`Search provider`,options:[...m,{value:`__skip__`,label:`Skip for now`,hint:`Configure later with openclaw configure --section web`}],initialValue:h});if(g===`__skip__`)return e;let _=r.find(e=>e.value===g),v=o(e,g),y=s(e,g),b=i(_);if(a?.quickstartDefaults&&(y||b))return f(e,v?u(e,g,v):d(e,g));if(a?.secretInputMode===`ref`){if(y)return f(e,d(e,g));let t=c(g);return await n.note([`Secret references enabled — OpenClaw will store a reference instead of the API key.`,`Env var: ${t.id}${b?` (detected)`:``}.`,...b?[]:[`Set ${t.id} in the Gateway environment.`],`Docs: https://docs.openclaw.ai/tools/web`].join(`
3
3
  `),`Web search`),u(e,g,t)}let x=(await n.text({message:y?`${_.label} API key (leave blank to keep current)`:b?`${_.label} API key (leave blank to use env var)`:`${_.label} API key`,placeholder:y?`Leave blank to keep current`:_.placeholder}))?.trim()??``;return x?u(e,g,l(g,x,a?.secretInputMode)):v?f(e,u(e,g,v)):y||b?f(e,d(e,g)):(await n.note([`No API key stored — web_search won't work until a key is available.`,`Get your key at: ${_.signupUrl}`,`Docs: https://docs.openclaw.ai/tools/web`].join(`
4
4
  `),`Web search`),{...e,tools:{...e.tools,web:{...e.tools?.web,search:{...e.tools?.web?.search,provider:g}}}})}export{r as SEARCH_PROVIDER_OPTIONS,u as applySearchKey,s as hasExistingKey,i as hasKeyInEnv,o as resolveExistingKey,p as setupSearch};
5
+ //# sourceMappingURL=onboard-search-fslKKhyg.js.map
@@ -2,3 +2,4 @@ import{t as e}from"./rolldown-runtime-CNxR59P3.js";import{cu as t}from"./auth-pr
2
2
  `),`Skills status`),!await f.confirm({message:`Configure skills now? (recommended)`,initialValue:!0}))return e;let v=g.filter(e=>e.install.length>0&&e.missing.bins.length>0),y=e;if(v.length>0){let e=(await f.multiselect({message:`Install missing skill dependencies`,options:[{value:`__skip__`,label:`Skip for now`,hint:`Continue without installing dependencies`},...v.map(e=>({value:e.name,label:`${e.emoji??`🧩`} ${e.name}`,hint:l(e)}))]})).filter(e=>e!==`__skip__`),t=e.map(e=>v.find(t=>t.name===e)).filter(e=>!!e);if(process.platform!==`win32`&&t.some(e=>e.install.some(e=>e.kind===`brew`))&&!await i(`brew`)&&(await f.note([`Many skill dependencies are shipped via Homebrew.`,`Without brew, you'll need to build from source or download releases manually.`].join(`
3
3
  `),`Homebrew recommended`),await f.confirm({message:`Show Homebrew install command?`,initialValue:!0})&&await f.note([`Run:`,`/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`].join(`
4
4
  `),`Homebrew install`)),t.some(e=>e.install.some(e=>e.kind===`node`))){let e=await f.select({message:`Preferred node manager for skill installs`,options:r()});y={...y,skills:{...y.skills,install:{...y.skills?.install,nodeManager:e}}}}for(let t of e){let e=v.find(e=>e.name===t);if(!e||e.install.length===0)continue;let r=e.install[0]?.id;if(!r)continue;let i=f.progress(`Installing ${t}…`),a=await o({workspaceDir:s,skillName:e.name,installId:r,config:y}),l=a.warnings??[];if(a.ok){i.stop(l.length>0?`Installed ${t} (with warnings)`:`Installed ${t}`);for(let e of l)d.log(e);continue}let u=a.code==null?``:` (exit ${a.code})`,p=c(a.message);i.stop(`Install failed: ${t}${u}${p?` — ${p}`:``}`);for(let e of l)d.log(e);a.stderr?d.log(a.stderr.trim()):a.stdout&&d.log(a.stdout.trim()),d.log(`Tip: run \`${n(`openclaw doctor`)}\` to review skills + requirements.`),d.log(`Docs: https://docs.openclaw.ai/skills`)}}for(let e of g){if(!e.primaryEnv||e.missing.env.length===0||!await f.confirm({message:`Set ${e.primaryEnv} for ${e.name}?`,initialValue:!1}))continue;let n=String(await f.text({message:`Enter ${e.primaryEnv}`,validate:e=>e?.trim()?void 0:`Required`}));y=u(y,e.skillKey,{apiKey:t(n)})}return y}export{d as n,s as t};
5
+ //# sourceMappingURL=onboard-skills-BMAJs6ly.js.map
@@ -2,3 +2,4 @@ import{t as e}from"./rolldown-runtime-CNxR59P3.js";import{lu as t}from"./model-s
2
2
  `),`Skills status`),!await f.confirm({message:`Configure skills now? (recommended)`,initialValue:!0}))return e;let v=g.filter(e=>e.install.length>0&&e.missing.bins.length>0),y=e;if(v.length>0){let e=(await f.multiselect({message:`Install missing skill dependencies`,options:[{value:`__skip__`,label:`Skip for now`,hint:`Continue without installing dependencies`},...v.map(e=>({value:e.name,label:`${e.emoji??`🧩`} ${e.name}`,hint:l(e)}))]})).filter(e=>e!==`__skip__`),t=e.map(e=>v.find(t=>t.name===e)).filter(e=>!!e);if(process.platform!==`win32`&&t.some(e=>e.install.some(e=>e.kind===`brew`))&&!await i(`brew`)&&(await f.note([`Many skill dependencies are shipped via Homebrew.`,`Without brew, you'll need to build from source or download releases manually.`].join(`
3
3
  `),`Homebrew recommended`),await f.confirm({message:`Show Homebrew install command?`,initialValue:!0})&&await f.note([`Run:`,`/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`].join(`
4
4
  `),`Homebrew install`)),t.some(e=>e.install.some(e=>e.kind===`node`))){let e=await f.select({message:`Preferred node manager for skill installs`,options:r()});y={...y,skills:{...y.skills,install:{...y.skills?.install,nodeManager:e}}}}for(let t of e){let e=v.find(e=>e.name===t);if(!e||e.install.length===0)continue;let r=e.install[0]?.id;if(!r)continue;let i=f.progress(`Installing ${t}…`),a=await o({workspaceDir:s,skillName:e.name,installId:r,config:y}),l=a.warnings??[];if(a.ok){i.stop(l.length>0?`Installed ${t} (with warnings)`:`Installed ${t}`);for(let e of l)d.log(e);continue}let u=a.code==null?``:` (exit ${a.code})`,p=c(a.message);i.stop(`Install failed: ${t}${u}${p?` — ${p}`:``}`);for(let e of l)d.log(e);a.stderr?d.log(a.stderr.trim()):a.stdout&&d.log(a.stdout.trim()),d.log(`Tip: run \`${n(`openclaw doctor`)}\` to review skills + requirements.`),d.log(`Docs: https://docs.openclaw.ai/skills`)}}for(let e of g){if(!e.primaryEnv||e.missing.env.length===0||!await f.confirm({message:`Set ${e.primaryEnv} for ${e.name}?`,initialValue:!1}))continue;let n=String(await f.text({message:`Enter ${e.primaryEnv}`,validate:e=>e?.trim()?void 0:`Required`}));y=u(y,e.skillKey,{apiKey:t(n)})}return y}export{d as n,s as t};
5
+ //# sourceMappingURL=onboard-skills-CMSQc2Mm.js.map
@@ -5,3 +5,4 @@ import{n as e,u as t}from"./paths-B4IRk3wi.js";import{p as n}from"./subsystem-C5
5
5
  `),`Gateway auth`)}let w=process.env.OPENCLAW_GATEWAY_PASSWORD??process.env.CLAWDBOT_GATEWAY_PASSWORD;try{let e=await l({config:h,value:h.gateway?.auth?.password,path:`gateway.auth.password`,env:process.env});e&&(w=e)}catch(e){await f.note([`Could not resolve gateway.auth.password SecretRef for onboarding probe.`,e instanceof Error?e.message:String(e)].join(`
6
6
  `),`Gateway auth`)}let T=await p.probeGatewayReachable({url:S,token:C,password:w}),E=h.gateway?.remote?.url?.trim()??``,D=o(h.gateway?.remote?.token);try{let e=await l({config:h,value:h.gateway?.remote?.token,path:`gateway.remote.token`,env:process.env});e&&(D=e)}catch(e){await f.note([`Could not resolve gateway.remote.token SecretRef for onboarding probe.`,e instanceof Error?e.message:String(e)].join(`
7
7
  `),`Gateway auth`)}let O=E?await p.probeGatewayReachable({url:E,token:D}):null,k=c.mode??(y===`quickstart`?`local`:await f.select({message:`What do you want to set up?`,options:[{value:`local`,label:`Local gateway (this machine)`,hint:T.ok?`Gateway reachable (${S})`:`No gateway detected (${S})`},{value:`remote`,label:`Remote gateway (info-only)`,hint:E?O?.ok?`Gateway reachable (${E})`:`Configured but unreachable (${E})`:`No remote URL configured yet`}]}));if(k===`remote`){let{promptRemoteGatewayConfig:e}=await import(`./onboard-remote-DPU-H_2O.js`).then(e=>e.t),{logConfigUpdated:t}=await import(`./logging-Dqe9dxSX.js`).then(e=>e.r),n=await e(h,f,{secretInputMode:c.secretInputMode});n=p.applyWizardMetadata(n,{command:`onboard`,mode:k}),await a(n),t(d),await f.outro(`Remote gateway configured.`);return}let A=r((c.workspace??(y===`quickstart`?h.agents?.defaults?.workspace??p.DEFAULT_WORKSPACE:await f.text({message:`Workspace directory`,initialValue:h.agents?.defaults?.workspace??p.DEFAULT_WORKSPACE}))).trim()||p.DEFAULT_WORKSPACE),{applyOnboardingLocalWorkspaceConfig:j}=await import(`./onboard-config-DS9dUv8M.js`).then(e=>e.n),M=j(h,A),{ensureAuthProfileStore:N}=await import(`./model-selection-BlC_rXAN.js`).then(e=>e.Ct),{promptAuthChoiceGrouped:P}=await import(`./auth-choice-prompt-xYj13czb.js`).then(e=>e.t),{promptCustomApiConfig:F}=await import(`./onboard-custom-B03SlEHB.js`).then(e=>e.r),{applyAuthChoice:I,resolvePreferredProviderForAuthChoice:L,warnIfModelConfigLooksOff:R}=await import(`./auth-choice-EQdNd7jO.js`).then(e=>e.t),{applyPrimaryModel:z,promptDefaultModel:B}=await import(`./model-picker-bZNuI66U.js`).then(e=>e.i),V=N(void 0,{allowKeychainPrompt:!1}),H=c.authChoice===void 0,U=c.authChoice??await P({prompter:f,store:V,includeSkip:!0});if(U===`custom-api-key`)M=(await F({prompter:f,runtime:d,config:M,secretInputMode:c.secretInputMode})).config;else{let e=await I({authChoice:U,config:M,prompter:f,runtime:d,setDefaultModel:!(H&&U===`ollama`),opts:{tokenProvider:c.tokenProvider,token:c.authChoice===`apiKey`&&c.token?c.token:void 0}});M=e.config,e.agentModelOverride&&(M=z(M,e.agentModelOverride))}if(H&&U!==`custom-api-key`){let e=await B({config:M,prompter:f,allowKeep:!0,ignoreAllowlist:!0,includeVllm:!0,preferredProvider:L(U)});e.config&&(M=e.config),e.model&&(M=z(M,e.model))}if(U===`ollama`){let{ensureOllamaModelPulled:e}=await import(`./ollama-setup-DlwS6Gl-.js`).then(e=>e.r);await e({config:M,prompter:f})}await R(M,f);let{configureGatewayForOnboarding:W}=await import(`./onboarding.gateway-config-y3pqsL9i.js`),G=await W({flow:y,baseConfig:h,nextConfig:M,localPort:x,quickstartGateway:b,secretInputMode:c.secretInputMode,prompter:f,runtime:d});M=G.nextConfig;let K=G.settings;if(c.skipChannels??c.skipProviders)await f.note(`Skipping channel setup.`,`Channels`);else{let{listChannelPlugins:e}=await import(`./plugins-CYLrFT4h.js`).then(e=>e.i),{setupChannels:t}=await import(`./onboard-channels-BMIOddLN.js`).then(e=>e.n),n=y===`quickstart`?e().filter(e=>e.meta.quickstartAllowFrom).map(e=>e.id):[];M=await t(M,d,f,{allowSignalInstall:!0,forceAllowFromChannels:n,skipDmPolicyPrompt:y===`quickstart`,skipConfirm:y===`quickstart`,quickstartDefaults:y===`quickstart`,secretInputMode:c.secretInputMode})}await a(M);let{logConfigUpdated:q}=await import(`./logging-Dqe9dxSX.js`).then(e=>e.r);if(q(d),await p.ensureWorkspaceAndSessions(A,d,{skipBootstrap:!!M.agents?.defaults?.skipBootstrap}),c.skipSearch)await f.note(`Skipping search setup.`,`Search`);else{let{setupSearch:e}=await import(`./onboard-search-f2tJD4hg.js`);M=await e(M,d,f,{quickstartDefaults:y===`quickstart`,secretInputMode:c.secretInputMode})}if(c.skipSkills)await f.note(`Skipping skills setup.`,`Skills`);else{let{setupSkills:e}=await import(`./onboard-skills-CMSQc2Mm.js`).then(e=>e.t);M=await e(M,A,d,f)}let{setupInternalHooks:J}=await import(`./onboard-hooks-CERzXObm.js`);M=await J(M,d,f),M=p.applyWizardMetadata(M,{command:`onboard`,mode:k}),await a(M);let{finalizeOnboardingWizard:Y}=await import(`./onboarding.finalize-Bgat5Npc.js`),{launchedTui:X}=await Y({flow:y,opts:c,baseConfig:h,nextConfig:M,workspaceDir:A,settings:K,prompter:f,runtime:d})}export{d as t};
8
+ //# sourceMappingURL=onboarding-B6ixWwgp.js.map
@@ -5,3 +5,4 @@ import{p as e}from"./subsystem-BLbY429l.js";import{n as t,u as n}from"./paths-Bj
5
5
  `),`Gateway auth`)}let w=process.env.OPENCLAW_GATEWAY_PASSWORD??process.env.CLAWDBOT_GATEWAY_PASSWORD;try{let e=await l({config:h,value:h.gateway?.auth?.password,path:`gateway.auth.password`,env:process.env});e&&(w=e)}catch(e){await f.note([`Could not resolve gateway.auth.password SecretRef for onboarding probe.`,e instanceof Error?e.message:String(e)].join(`
6
6
  `),`Gateway auth`)}let T=await p.probeGatewayReachable({url:S,token:C,password:w}),E=h.gateway?.remote?.url?.trim()??``,D=s(h.gateway?.remote?.token);try{let e=await l({config:h,value:h.gateway?.remote?.token,path:`gateway.remote.token`,env:process.env});e&&(D=e)}catch(e){await f.note([`Could not resolve gateway.remote.token SecretRef for onboarding probe.`,e instanceof Error?e.message:String(e)].join(`
7
7
  `),`Gateway auth`)}let O=E?await p.probeGatewayReachable({url:E,token:D}):null,k=c.mode??(y===`quickstart`?`local`:await f.select({message:`What do you want to set up?`,options:[{value:`local`,label:`Local gateway (this machine)`,hint:T.ok?`Gateway reachable (${S})`:`No gateway detected (${S})`},{value:`remote`,label:`Remote gateway (info-only)`,hint:E?O?.ok?`Gateway reachable (${E})`:`Configured but unreachable (${E})`:`No remote URL configured yet`}]}));if(k===`remote`){let{promptRemoteGatewayConfig:e}=await import(`./onboard-remote-BOpIRdDu.js`).then(e=>e.t),{logConfigUpdated:t}=await import(`./logging-tYw1NbJd.js`).then(e=>e.r),n=await e(h,f,{secretInputMode:c.secretInputMode});n=p.applyWizardMetadata(n,{command:`onboard`,mode:k}),await r(n),t(d),await f.outro(`Remote gateway configured.`);return}let A=o((c.workspace??(y===`quickstart`?h.agents?.defaults?.workspace??p.DEFAULT_WORKSPACE:await f.text({message:`Workspace directory`,initialValue:h.agents?.defaults?.workspace??p.DEFAULT_WORKSPACE}))).trim()||p.DEFAULT_WORKSPACE),{applyOnboardingLocalWorkspaceConfig:j}=await import(`./onboard-config-B7U20YRw.js`).then(e=>e.n),M=j(h,A),{ensureAuthProfileStore:N}=await import(`./auth-profiles-T8DuH3ax.js`).then(e=>e.t),{promptAuthChoiceGrouped:P}=await import(`./auth-choice-prompt-uegl56cf.js`).then(e=>e.t),{promptCustomApiConfig:F}=await import(`./onboard-custom-Bl0y8c-g.js`).then(e=>e.r),{applyAuthChoice:I,resolvePreferredProviderForAuthChoice:L,warnIfModelConfigLooksOff:R}=await import(`./auth-choice-DvTApGhx.js`).then(e=>e.t),{applyPrimaryModel:z,promptDefaultModel:B}=await import(`./model-picker-D3ZSpr0i.js`).then(e=>e.i),V=N(void 0,{allowKeychainPrompt:!1}),H=c.authChoice===void 0,U=c.authChoice??await P({prompter:f,store:V,includeSkip:!0});if(U===`custom-api-key`)M=(await F({prompter:f,runtime:d,config:M,secretInputMode:c.secretInputMode})).config;else{let e=await I({authChoice:U,config:M,prompter:f,runtime:d,setDefaultModel:!(H&&U===`ollama`),opts:{tokenProvider:c.tokenProvider,token:c.authChoice===`apiKey`&&c.token?c.token:void 0}});M=e.config,e.agentModelOverride&&(M=z(M,e.agentModelOverride))}if(H&&U!==`custom-api-key`){let e=await B({config:M,prompter:f,allowKeep:!0,ignoreAllowlist:!0,includeVllm:!0,preferredProvider:L(U)});e.config&&(M=e.config),e.model&&(M=z(M,e.model))}if(U===`ollama`){let{ensureOllamaModelPulled:e}=await import(`./ollama-setup-BMEKWyIE.js`).then(e=>e.r);await e({config:M,prompter:f})}await R(M,f);let{configureGatewayForOnboarding:W}=await import(`./onboarding.gateway-config-BtLDJWJ2.js`),G=await W({flow:y,baseConfig:h,nextConfig:M,localPort:x,quickstartGateway:b,secretInputMode:c.secretInputMode,prompter:f,runtime:d});M=G.nextConfig;let K=G.settings;if(c.skipChannels??c.skipProviders)await f.note(`Skipping channel setup.`,`Channels`);else{let{listChannelPlugins:e}=await import(`./plugins-DNlgeTTc.js`).then(e=>e.i),{setupChannels:t}=await import(`./onboard-channels-CZK_7xMR.js`).then(e=>e.n),n=y===`quickstart`?e().filter(e=>e.meta.quickstartAllowFrom).map(e=>e.id):[];M=await t(M,d,f,{allowSignalInstall:!0,forceAllowFromChannels:n,skipDmPolicyPrompt:y===`quickstart`,skipConfirm:y===`quickstart`,quickstartDefaults:y===`quickstart`,secretInputMode:c.secretInputMode})}await r(M);let{logConfigUpdated:q}=await import(`./logging-tYw1NbJd.js`).then(e=>e.r);if(q(d),await p.ensureWorkspaceAndSessions(A,d,{skipBootstrap:!!M.agents?.defaults?.skipBootstrap}),c.skipSearch)await f.note(`Skipping search setup.`,`Search`);else{let{setupSearch:e}=await import(`./onboard-search-fslKKhyg.js`);M=await e(M,d,f,{quickstartDefaults:y===`quickstart`,secretInputMode:c.secretInputMode})}if(c.skipSkills)await f.note(`Skipping skills setup.`,`Skills`);else{let{setupSkills:e}=await import(`./onboard-skills-BMAJs6ly.js`).then(e=>e.t);M=await e(M,A,d,f)}let{setupInternalHooks:J}=await import(`./onboard-hooks-gQ3sxBNi.js`);M=await J(M,d,f),M=p.applyWizardMetadata(M,{command:`onboard`,mode:k}),await r(M);let{finalizeOnboardingWizard:Y}=await import(`./onboarding.finalize-DsMVlTcH.js`),{launchedTui:X}=await Y({flow:y,opts:c,baseConfig:h,nextConfig:M,workspaceDir:A,settings:K,prompter:f,runtime:d})}export{d as t};
8
+ //# sourceMappingURL=onboarding-ouEqUuUr.js.map
@@ -13,3 +13,4 @@ import"./paths-B4IRk3wi.js";import{m as e}from"./subsystem-C5XF2Fy5.js";import{h
13
13
  `),`Web search`)}else{let{SEARCH_PROVIDER_OPTIONS:e,hasExistingKey:t,hasKeyInEnv:n}=await import(`./onboard-search-f2tJD4hg.js`),r=e.find(e=>t(E,e.value)||n(e));r?await j.note([`Web search is available via ${r.label} (auto-detected).`,`Docs: https://docs.openclaw.ai/tools/web`].join(`
14
14
  `),`Web search`):await j.note([`Web search was skipped. You can enable it later:`,` ${a(`openclaw configure --section web`)}`,``,`Docs: https://docs.openclaw.ai/tools/web`].join(`
15
15
  `),`Web search`)}return await j.note(`What now: https://openclaw.ai/showcase ("What People Are Building").`,`What now`),await j.outro(q?`Onboarding complete. Dashboard opened; keep that tab to control OpenClaw.`:`Onboarding complete. Use the dashboard link above to control OpenClaw.`),{launchedTui:X}}export{P as finalizeOnboardingWizard};
16
+ //# sourceMappingURL=onboarding.finalize-Bgat5Npc.js.map
@@ -13,3 +13,4 @@ import{m as e}from"./subsystem-BLbY429l.js";import"./paths-BjD3T_xq.js";import".
13
13
  `),`Web search`)}else{let{SEARCH_PROVIDER_OPTIONS:e,hasExistingKey:t,hasKeyInEnv:r}=await import(`./onboard-search-fslKKhyg.js`),i=e.find(e=>t(E,e.value)||r(e));i?await j.note([`Web search is available via ${i.label} (auto-detected).`,`Docs: https://docs.openclaw.ai/tools/web`].join(`
14
14
  `),`Web search`):await j.note([`Web search was skipped. You can enable it later:`,` ${n(`openclaw configure --section web`)}`,``,`Docs: https://docs.openclaw.ai/tools/web`].join(`
15
15
  `),`Web search`)}return await j.note(`What now: https://openclaw.ai/showcase ("What People Are Building").`,`What now`),await j.outro(q?`Onboarding complete. Dashboard opened; keep that tab to control OpenClaw.`:`Onboarding complete. Use the dashboard link above to control OpenClaw.`),{launchedTui:X}}export{P as finalizeOnboardingWizard};
16
+ //# sourceMappingURL=onboarding.finalize-DsMVlTcH.js.map
@@ -1,3 +1,4 @@
1
1
  import"./subsystem-BLbY429l.js";import"./paths-BjD3T_xq.js";import"./boolean-D15s2V33.js";import{$s as e,va as t}from"./auth-profiles-T8DuH3ax.js";import"./agent-scope-DAWJwFfl.js";import"./utils-CGdo13HV.js";import"./openclaw-root-CnsBf6ZU.js";import{d as n,l as r}from"./types.secrets-D4tbc3Wq.js";import"./github-copilot-token-C79yeDKS.js";import"./env-overrides-DHtB4kK3.js";import"./version-q3SkUw2K.js";import"./registry-BptzrW8D.js";import"./skills-CKTicUKS.js";import"./frontmatter-C7mzDNxd.js";import"./plugins-DNlgeTTc.js";import"./logger-kQAOe3qp.js";import"./exec-B3eleY5O.js";import"./windows-spawn-7oINn5ao.js";import"./redact-CnRxK70G.js";import"./path-alias-guards-kY_ZbWs-.js";import"./errors-6SQWM9dj.js";import"./paths-BfjJY2VL.js";import"./chat-envelope-Bznn2SoS.js";import"./call-B8Fb4_oh.js";import{h as i,u as a,y as o}from"./onboard-helpers-PGl5bVPE.js";import"./prompt-style-BThRSQJR.js";import"./provider-env-vars-Dt0Q29Su.js";import{c as s,s as c}from"./auth-choice.apply-helpers-B7S-PcH_.js";import{t as l}from"./onboarding.secret-input-BsBgh8Tc.js";import{t as u}from"./node-command-policy-CejeQemH.js";import{a as d,i as f,n as p,r as m,t as h}from"./ipv4-CWdaEiVH.js";async function g(g){let{flow:_,localPort:v,quickstartGateway:y,prompter:b}=g,{nextConfig:x}=g,S=_===`quickstart`?y.port:Number.parseInt(String(await b.text({message:`Gateway port`,initialValue:String(v),validate:e=>Number.isFinite(Number(e))?void 0:`Invalid port`})),10),C=_===`quickstart`?y.bind:await b.select({message:`Gateway bind`,options:[{value:`loopback`,label:`Loopback (127.0.0.1)`},{value:`lan`,label:`LAN (0.0.0.0)`},{value:`tailnet`,label:`Tailnet (Tailscale IP)`},{value:`auto`,label:`Auto (Loopback → LAN)`},{value:`custom`,label:`Custom IP`}]}),w=y.customBindHost;if(C===`custom`&&(_!==`quickstart`||!w)){let e=await b.text({message:`Custom IP address`,placeholder:`192.168.1.100`,initialValue:w??``,validate:h});w=typeof e==`string`?e.trim():void 0}let T=_===`quickstart`?y.authMode:await b.select({message:`Gateway auth`,options:[{value:`token`,label:`Token`,hint:`Recommended default (local + remote)`},{value:`password`,label:`Password`}],initialValue:`token`}),E=_===`quickstart`?y.tailscaleMode:await b.select({message:`Tailscale exposure`,options:[...m]}),D=null;E!==`off`&&(D=await t(),D||await b.note(f.join(`
2
2
  `),`Tailscale Warning`));let O=_===`quickstart`?y.tailscaleResetOnExit:!1;E!==`off`&&_!==`quickstart`&&(await b.note(p.join(`
3
3
  `),`Tailscale`),O=!!await b.confirm({message:`Reset Tailscale serve/funnel on exit?`,initialValue:!1})),E!==`off`&&C!==`loopback`&&(await b.note(`Tailscale requires bind=loopback. Adjusting bind to loopback.`,`Note`),C=`loopback`,w=void 0),E===`funnel`&&T!==`password`&&(await b.note(`Tailscale funnel requires password auth.`,`Note`),T=`password`);let k,A;if(T===`token`){let e=r(y.token),t=n({value:y.token,defaults:x.secrets?.defaults}).ref;if((_===`quickstart`&&g.secretInputMode!==`ref`?t?`ref`:`plaintext`:await s({prompter:b,explicitMode:g.secretInputMode,copy:{modeMessage:`How do you want to provide the gateway token?`,plaintextLabel:`Generate/store plaintext token`,plaintextHint:`Default`,refLabel:`Use SecretRef`,refHint:`Store a reference instead of plaintext`}}))===`ref`)if(_===`quickstart`&&t)A=t,k=await l({config:x,value:t,path:`gateway.auth.token`,env:process.env});else{let e=await c({provider:`gateway-auth-token`,config:x,prompter:b,preferredEnvVar:`OPENCLAW_GATEWAY_TOKEN`,copy:{sourceMessage:`Where is this gateway token stored?`,envVarPlaceholder:`OPENCLAW_GATEWAY_TOKEN`}});A=e.ref,k=e.resolvedValue}else _===`quickstart`?(k=(e??a(process.env.OPENCLAW_GATEWAY_TOKEN))||i(),A=k):(k=a(await b.text({message:`Gateway token (blank to generate)`,placeholder:`Needed for multi-machine or non-loopback access`,initialValue:e??a(process.env.OPENCLAW_GATEWAY_TOKEN)??``}))||i(),A=k)}if(T===`password`){let e=_===`quickstart`&&y.password?y.password:void 0;e||=await s({prompter:b,explicitMode:g.secretInputMode,copy:{modeMessage:`How do you want to provide the gateway password?`,plaintextLabel:`Enter password now`,plaintextHint:`Stores the password directly in OpenClaw config`}})===`ref`?(await c({provider:`gateway-auth-password`,config:x,prompter:b,preferredEnvVar:`OPENCLAW_GATEWAY_PASSWORD`,copy:{sourceMessage:`Where is this gateway password stored?`,envVarPlaceholder:`OPENCLAW_GATEWAY_PASSWORD`}})).ref:String(await b.text({message:`Gateway password`,validate:o})??``).trim(),x={...x,gateway:{...x.gateway,auth:{...x.gateway?.auth,mode:`password`,password:e}}}}else T===`token`&&(x={...x,gateway:{...x.gateway,auth:{...x.gateway?.auth,mode:`token`,token:A}}});return x={...x,gateway:{...x.gateway,port:S,bind:C,...C===`custom`&&w?{customBindHost:w}:{},tailscale:{...x.gateway?.tailscale,mode:E,resetOnExit:O}}},x=e(x,{requireControlUiEnabled:!0}).config,x=await d({config:x,tailscaleMode:E,tailscaleBin:D}),!y.hasExisting&&x.gateway?.nodes?.denyCommands===void 0&&x.gateway?.nodes?.allowCommands===void 0&&x.gateway?.nodes?.browser===void 0&&(x={...x,gateway:{...x.gateway,nodes:{...x.gateway?.nodes,denyCommands:[...u]}}}),{nextConfig:x,settings:{port:S,bind:C,customBindHost:C===`custom`?w:void 0,authMode:T,gatewayToken:k,tailscaleMode:E,tailscaleResetOnExit:O}}}export{g as configureGatewayForOnboarding};
4
+ //# sourceMappingURL=onboarding.gateway-config-BtLDJWJ2.js.map