@romiluz/clawmongo 2026.3.31 → 2026.3.33

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 (605) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/README.md +21 -1
  3. package/dist/.buildstamp +1 -1
  4. package/dist/{abort.runtime-CBZWFKHx.js → abort.runtime-BODXWFfB.js} +19 -19
  5. package/dist/{accounts-256Lpw3_.js → accounts-dqDVvpq9.js} +19 -19
  6. package/dist/{action-runtime-By1tjY4j.js → action-runtime-C5U1W3NV.js} +3 -3
  7. package/dist/{action-runtime-BCwNxCYz.js → action-runtime-Ofj_Pwoi.js} +1 -1
  8. package/dist/{actions.runtime-GIuEnX5c.js → actions.runtime-D-PFCdDQ.js} +19 -19
  9. package/dist/{actions.runtime-BxXCTdgf.js → actions.runtime-D6T0Q1In.js} +22 -22
  10. package/dist/{agent-runner.runtime-D9LcBP7a.js → agent-runner.runtime-B_117lau.js} +20 -20
  11. package/dist/{agent-tools-login-D9QlyPBk.js → agent-tools-login-CIEGcx5C.js} +1 -1
  12. package/dist/agents/auth-profiles.runtime.js +2 -2
  13. package/dist/agents/pi-model-discovery-runtime.js +2 -2
  14. package/dist/{agents-CVZPbAax.js → agents-BGEZrH6E.js} +79 -79
  15. package/dist/{agents-Tnjt3Tfi.js → agents-DGb9FxeN.js} +4 -4
  16. package/dist/{api-kAoyZLGE.js → api-BHHbe6ya.js} +19 -19
  17. package/dist/{apply-CSgSTV31.js → apply-D5KZtgEs.js} +3 -3
  18. package/dist/{apply.runtime-BDFdeq7V.js → apply.runtime-C2coDVDp.js} +21 -21
  19. package/dist/{audit-kLLus1gm.js → audit-BTQT-OZ7.js} +1 -1
  20. package/dist/{audit-DI8FYBF-.js → audit-C1i5hvgH.js} +1 -1
  21. package/dist/{audit-dQxBQt16.js → audit-CSQcL00K.js} +1 -1
  22. package/dist/{audit-channel.collect.runtime-CCR8jR42.js → audit-channel.collect.runtime-CLO8pKCH.js} +1 -1
  23. package/dist/{audit-membership-runtime-DpPWzuTj.js → audit-membership-runtime-BaLdjBE1.js} +19 -19
  24. package/dist/{audit.runtime-D_EJ3boD.js → audit.runtime-Df1m5JVh.js} +1 -1
  25. package/dist/{auth-choice-CLy97hbI.js → auth-choice-CLVts4pn.js} +25 -25
  26. package/dist/{auth-choice-C5McfL86.js → auth-choice-D32orvb3.js} +4 -4
  27. package/dist/{auth-choice-CNgSjNra.js → auth-choice-DC9SHojq.js} +25 -25
  28. package/dist/{auth-choice-options-BSdoCxVO.js → auth-choice-options-DaRIYac6.js} +1 -1
  29. package/dist/{auth-choice-prompt-CSTIBRxx.js → auth-choice-prompt-BIxKeFyU.js} +22 -22
  30. package/dist/{auth-choice-prompt-ClPBv5Hb.js → auth-choice-prompt-bvPCPOfL.js} +1 -1
  31. package/dist/{auth-choice.plugin-providers.runtime-BvBk5zj8.js → auth-choice.plugin-providers.runtime-C0Gr_wBp.js} +20 -20
  32. package/dist/{auth-health-YaKxC3_1.js → auth-health-Grs1Tm7I.js} +1 -1
  33. package/dist/{auth-profiles-v2ZAir2o.js → auth-profiles-C3_OccUL.js} +1 -1
  34. package/dist/{bluebubbles-C9A57ciK.js → bluebubbles-p5n3iDOr.js} +2 -2
  35. package/dist/build-info.json +3 -3
  36. package/dist/bundled/boot-md/handler.js +19 -19
  37. package/dist/bundled/session-memory/handler.js +20 -20
  38. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  39. package/dist/{channel-E-KD0cHt.js → channel-BH3R_0z4.js} +1 -1
  40. package/dist/{channel-k__povtY.js → channel-BNsYAkzk.js} +2 -2
  41. package/dist/{channel-CAA94kAx.js → channel-BPJidiH0.js} +1 -1
  42. package/dist/{channel-fOhV_J6a.js → channel-B_kqKNYN.js} +8 -8
  43. package/dist/{channel-Bm6vQ7Vk.js → channel-C7ZLRJK3.js} +3 -3
  44. package/dist/{channel-BcHlUn1x.js → channel-CMTnTZvP.js} +2 -2
  45. package/dist/{channel-Cbyd5iYB.js → channel-CNiLspA4.js} +2 -2
  46. package/dist/{channel-DMllR7sN.js → channel-D7wbYYfq.js} +2 -2
  47. package/dist/{channel-wpeZAdJl.js → channel-DXN0it_k.js} +5 -5
  48. package/dist/{channel-Cfx75uDY2.js → channel-TVpnR3_92.js} +1 -1
  49. package/dist/{channel-account-context-Bj5Ap7Uy.js → channel-account-context-D0u_DsE9.js} +1 -1
  50. package/dist/{channel-plugin-resolution-FPqk6upJ.js → channel-plugin-resolution-BWF7cMnp.js} +1 -1
  51. package/dist/{channel-DiWzi-Z9.js → channel-s-DEd3xe.js} +6 -6
  52. package/dist/{channel-shared-BDFGo_d6.js → channel-shared-BkFrM4rg.js} +1 -1
  53. package/dist/{channel-summary-ZBxYr-BD.js → channel-summary-C2ehIc9T.js} +1 -1
  54. package/dist/{channel-summary-BaB6JLjL.js → channel-summary-C7G79FoU.js} +2 -2
  55. package/dist/{channel-DLsGlHed.js → channel-tI13LeFy.js} +3 -3
  56. package/dist/{channel.runtime-DL2L4PBZ.js → channel.runtime-BW1CY17-.js} +20 -20
  57. package/dist/{channel.runtime-BQ4BzagZ.js → channel.runtime-BZoo7HMI.js} +22 -22
  58. package/dist/{channel.runtime-zyLXuzKv.js → channel.runtime-C5J1_m0z.js} +19 -19
  59. package/dist/{channel.runtime-B6xeMwMc.js → channel.runtime-Ct_bKj0l.js} +21 -21
  60. package/dist/{channel.runtime-bS2ATGEr.js → channel.runtime-CySK5bcO.js} +21 -21
  61. package/dist/{channel.runtime-BEJ4hBtm.js → channel.runtime-DoX7dBG7.js} +19 -19
  62. package/dist/{channel.runtime-fJE2Uv7C.js → channel.runtime-F83uGGg1.js} +20 -20
  63. package/dist/{channel.runtime-Cs1nBp_b.js → channel.runtime-MYP-i9w_.js} +4 -4
  64. package/dist/{channel.runtime-DVnUJJdT.js → channel.runtime-NAgMynid.js} +21 -21
  65. package/dist/{channel.runtime-3haExTH6.js → channel.runtime-OOpSO68N.js} +20 -20
  66. package/dist/{channel.runtime-D0KC-jG7.js → channel.runtime-bDBx8teP.js} +24 -24
  67. package/dist/{channel.runtime-DNqjL-Ln.js → channel.runtime-yJfsTOE1.js} +21 -21
  68. package/dist/{channels-DQBlQQrk.js → channels-DBgKkMpO.js} +1 -1
  69. package/dist/{channels-BfTj2PAc.js → channels-DV6kTofy.js} +75 -75
  70. package/dist/{channels-cli-COIjLRrE.js → channels-cli-DFl3cqMv.js} +28 -28
  71. package/dist/{clawbot-cli-UsX8B-JC.js → clawbot-cli-D2rd_pSe.js} +20 -20
  72. package/dist/cli/memory-cli.js +1 -1
  73. package/dist/{cli-BsveDkwV.js → cli-RV7cVB9I.js} +19 -19
  74. package/dist/cli-startup-metadata.json +1 -1
  75. package/dist/{command-registry-qQjN8Ype.js → command-registry-B3J7A6FS.js} +9 -9
  76. package/dist/{command-registry-zjq2WVu_.js → command-registry-Bj0LnTVT.js} +2 -2
  77. package/dist/{command-secret-gateway-C1EpZaYu.js → command-secret-gateway-CW9sDqgS.js} +19 -19
  78. package/dist/{commands-core-Dsj3CaMs.js → commands-core-D6dqx9zi.js} +4 -4
  79. package/dist/{commands-core.runtime-DYTk8kt6.js → commands-core.runtime-BRCfd-33.js} +21 -21
  80. package/dist/{commands-handlers.runtime-JbCSciWA.js → commands-handlers.runtime-CR0HGQzR.js} +37 -37
  81. package/dist/{commands-status.runtime-4le0QhLr.js → commands-status.runtime-DjQOH6g-.js} +19 -19
  82. package/dist/{commands.runtime-BfqO2kHQ.js → commands.runtime-hsb9KcEQ.js} +21 -21
  83. package/dist/{compact.runtime-CSWiKfxL.js → compact.runtime-C2XAKSLI.js} +19 -19
  84. package/dist/{completion-cli-DEuK1m4B.js → completion-cli-COY2jqyd.js} +3 -3
  85. package/dist/{completion-cli-CrnAbjgi.js → completion-cli-C_WAEEE3.js} +2 -2
  86. package/dist/{config-cli-Cq7Y1WGO.js → config-cli-D_W95p5D.js} +21 -21
  87. package/dist/{config-guard-BI_MUR9S.js → config-guard-DPjo5ueL.js} +1 -1
  88. package/dist/{config-validation-BmBOmlo6.js → config-validation-CObsiwtW.js} +1 -1
  89. package/dist/{configure-CDhjeL6x.js → configure-BoT1Mn9Y.js} +10 -10
  90. package/dist/{configure-D3Iva24K.js → configure-CiOOIY9X.js} +80 -80
  91. package/dist/{credentials-Do95FF_5.js → credentials-BP_REzGo.js} +22 -22
  92. package/dist/{credentials-read-CZ9hc1hW.js → credentials-read-Ctw8fUHL.js} +1 -1
  93. package/dist/{credentials-write.runtime-BNZpXVG3.js → credentials-write.runtime-C-esgXXQ.js} +2 -2
  94. package/dist/{daemon-install-GPm24bM4.js → daemon-install-D5g6l5YG.js} +2 -2
  95. package/dist/{deliver-DOIj_10v.js → deliver-BmBKH0vq.js} +19 -19
  96. package/dist/{deliver-runtime-rhGItjx0.js → deliver-runtime-CM7bZfks.js} +19 -19
  97. package/dist/{directive-handling.fast-lane-CP7g4eqP.js → directive-handling.fast-lane-B6I-x6TA.js} +22 -22
  98. package/dist/{directive-handling.impl-C5fXbYoU.js → directive-handling.impl-BlbYq7u0.js} +5 -5
  99. package/dist/{directive-handling.impl-Du7GIJCI.js → directive-handling.impl-BmUx8KZn.js} +22 -22
  100. package/dist/{directive-handling.persist.runtime-DHYSMC3t.js → directive-handling.persist.runtime-BShZSJBB.js} +4 -4
  101. package/dist/{directive-handling.shared-D9Qp4qBu.js → directive-handling.shared-CqEG8VVf.js} +1 -1
  102. package/dist/{directory-cli-MGZpBHMI.js → directory-cli-D7G5ix1A.js} +21 -21
  103. package/dist/{discord-CkL1CbLZ.js → discord-DXsmxXiz.js} +29 -29
  104. package/dist/{discord-DVjQ-DvJ.js → discord-qTmPDm9r.js} +8 -8
  105. package/dist/{dispatch-acp.runtime-DmwlgoFE.js → dispatch-acp.runtime-D75jx8-p.js} +21 -21
  106. package/dist/{doctor-completion-BI17hUZP.js → doctor-completion-DL3ak6p_.js} +1 -1
  107. package/dist/{doctor-config-preflight-DJ2CpABg.js → doctor-config-preflight-BJ5wj6AI.js} +1 -1
  108. package/dist/{doctor-config-preflight-BrDhJTRg.js → doctor-config-preflight-D1A0fJZk.js} +1 -1
  109. package/dist/{doctor-state-migrations-DOA54fyw.js → doctor-state-migrations-Cw9TTCJ1.js} +20 -20
  110. package/dist/{doctor-state-migrations-DGjrIHzs.js → doctor-state-migrations-CyD4ajcS.js} +1 -1
  111. package/dist/{encryption-guidance-BPRK7Uku.js → encryption-guidance-C0063Qkl.js} +1 -1
  112. package/dist/entry.js +1 -1
  113. package/dist/extensionAPI.js +19 -19
  114. package/dist/extensions/amazon-bedrock/index.js +19 -19
  115. package/dist/extensions/anthropic/index.js +20 -20
  116. package/dist/extensions/anthropic/media-understanding-provider.js +2 -2
  117. package/dist/extensions/bluebubbles/api.js +23 -23
  118. package/dist/extensions/bluebubbles/index.js +24 -24
  119. package/dist/extensions/bluebubbles/runtime-api.js +19 -19
  120. package/dist/extensions/bluebubbles/setup-entry.js +21 -21
  121. package/dist/extensions/byteplus/index.js +19 -19
  122. package/dist/extensions/chutes/index.js +20 -20
  123. package/dist/extensions/cloudflare-ai-gateway/index.js +19 -19
  124. package/dist/extensions/deepgram/audio.js +1 -1
  125. package/dist/extensions/deepgram/index.js +1 -1
  126. package/dist/extensions/deepgram/media-understanding-provider.js +1 -1
  127. package/dist/extensions/device-pair/api.js +19 -19
  128. package/dist/extensions/device-pair/index.js +19 -19
  129. package/dist/extensions/device-pair/notify.js +19 -19
  130. package/dist/extensions/device-pair/qr-image.js +19 -19
  131. package/dist/extensions/discord/api.js +19 -19
  132. package/dist/extensions/discord/index.js +27 -27
  133. package/dist/extensions/discord/runtime-api.js +29 -29
  134. package/dist/extensions/discord/setup-entry.js +22 -22
  135. package/dist/extensions/elevenlabs/index.js +19 -19
  136. package/dist/extensions/elevenlabs/speech-provider.js +19 -19
  137. package/dist/extensions/fal/image-generation-provider.js +20 -20
  138. package/dist/extensions/fal/index.js +20 -20
  139. package/dist/extensions/feishu/api.js +19 -19
  140. package/dist/extensions/feishu/index.js +22 -22
  141. package/dist/extensions/feishu/runtime-api.js +19 -19
  142. package/dist/extensions/feishu/setup-api.js +19 -19
  143. package/dist/extensions/feishu/setup-entry.js +20 -20
  144. package/dist/extensions/firecrawl/index.js +19 -19
  145. package/dist/extensions/github-copilot/index.js +20 -20
  146. package/dist/extensions/github-copilot/login.js +19 -19
  147. package/dist/extensions/google/gemini-cli-provider.js +19 -19
  148. package/dist/extensions/google/image-generation-provider.js +19 -19
  149. package/dist/extensions/google/index.js +19 -19
  150. package/dist/extensions/google/media-understanding-provider.js +2 -2
  151. package/dist/extensions/google/oauth.flow.js +19 -19
  152. package/dist/extensions/google/oauth.http.js +19 -19
  153. package/dist/extensions/google/oauth.js +19 -19
  154. package/dist/extensions/google/oauth.project.js +19 -19
  155. package/dist/extensions/google/oauth.runtime.js +19 -19
  156. package/dist/extensions/google/oauth.token.js +19 -19
  157. package/dist/extensions/googlechat/api.js +19 -19
  158. package/dist/extensions/googlechat/index.js +20 -20
  159. package/dist/extensions/googlechat/runtime-api.js +19 -19
  160. package/dist/extensions/googlechat/setup-entry.js +20 -20
  161. package/dist/extensions/groq/index.js +1 -1
  162. package/dist/extensions/groq/media-understanding-provider.js +1 -1
  163. package/dist/extensions/huggingface/index.js +19 -19
  164. package/dist/extensions/imessage/api.js +19 -19
  165. package/dist/extensions/imessage/index.js +23 -23
  166. package/dist/extensions/imessage/runtime-api.js +20 -20
  167. package/dist/extensions/imessage/setup-entry.js +23 -23
  168. package/dist/extensions/irc/api.js +19 -19
  169. package/dist/extensions/irc/index.js +21 -21
  170. package/dist/extensions/irc/setup-entry.js +20 -20
  171. package/dist/extensions/kilocode/index.js +19 -19
  172. package/dist/extensions/kimi-coding/index.js +19 -19
  173. package/dist/extensions/line/api.js +19 -19
  174. package/dist/extensions/line/index.js +21 -21
  175. package/dist/extensions/line/runtime-api.js +19 -19
  176. package/dist/extensions/line/setup-api.js +19 -19
  177. package/dist/extensions/line/setup-entry.js +21 -21
  178. package/dist/extensions/lobster/index.js +19 -19
  179. package/dist/extensions/lobster/runtime-api.js +19 -19
  180. package/dist/extensions/matrix/api.js +28 -28
  181. package/dist/extensions/matrix/helper-api.js +20 -20
  182. package/dist/extensions/matrix/index.js +32 -32
  183. package/dist/extensions/matrix/runtime-api.js +20 -20
  184. package/dist/extensions/matrix/setup-entry.js +27 -27
  185. package/dist/extensions/mattermost/api.js +20 -20
  186. package/dist/extensions/mattermost/index.js +21 -21
  187. package/dist/extensions/mattermost/runtime-api.js +19 -19
  188. package/dist/extensions/mattermost/setup-entry.js +20 -20
  189. package/dist/extensions/microsoft/index.js +19 -19
  190. package/dist/extensions/microsoft/speech-provider.js +19 -19
  191. package/dist/extensions/microsoft-foundry/auth.js +19 -19
  192. package/dist/extensions/microsoft-foundry/cli.js +19 -19
  193. package/dist/extensions/microsoft-foundry/index.js +19 -19
  194. package/dist/extensions/microsoft-foundry/onboard.js +19 -19
  195. package/dist/extensions/microsoft-foundry/provider.js +19 -19
  196. package/dist/extensions/microsoft-foundry/runtime.js +19 -19
  197. package/dist/extensions/microsoft-foundry/shared-runtime.js +19 -19
  198. package/dist/extensions/microsoft-foundry/shared.js +19 -19
  199. package/dist/extensions/minimax/image-generation-provider.js +20 -20
  200. package/dist/extensions/minimax/index.js +21 -21
  201. package/dist/extensions/minimax/media-understanding-provider.js +2 -2
  202. package/dist/extensions/minimax/oauth.js +20 -20
  203. package/dist/extensions/minimax/oauth.runtime.js +20 -20
  204. package/dist/extensions/mistral/index.js +2 -2
  205. package/dist/extensions/mistral/media-understanding-provider.js +2 -2
  206. package/dist/extensions/moonshot/index.js +19 -19
  207. package/dist/extensions/moonshot/media-understanding-provider.js +2 -2
  208. package/dist/extensions/msteams/api.js +21 -21
  209. package/dist/extensions/msteams/index.js +22 -22
  210. package/dist/extensions/msteams/runtime-api.js +19 -19
  211. package/dist/extensions/msteams/setup-entry.js +22 -22
  212. package/dist/extensions/nextcloud-talk/api.js +20 -20
  213. package/dist/extensions/nextcloud-talk/index.js +21 -21
  214. package/dist/extensions/nextcloud-talk/runtime-api.js +19 -19
  215. package/dist/extensions/nextcloud-talk/setup-entry.js +20 -20
  216. package/dist/extensions/nostr/api.js +19 -19
  217. package/dist/extensions/nostr/index.js +21 -21
  218. package/dist/extensions/nostr/runtime-api.js +19 -19
  219. package/dist/extensions/nostr/setup-api.js +20 -20
  220. package/dist/extensions/nostr/setup-entry.js +21 -21
  221. package/dist/extensions/openai/image-generation-provider.js +20 -20
  222. package/dist/extensions/openai/index.js +24 -24
  223. package/dist/extensions/openai/media-understanding-provider.js +2 -2
  224. package/dist/extensions/openai/openai-codex-provider.js +21 -21
  225. package/dist/extensions/openai/openai-codex-provider.runtime.js +19 -19
  226. package/dist/extensions/openai/openai-provider.js +20 -20
  227. package/dist/extensions/openai/speech-provider.js +19 -19
  228. package/dist/extensions/opencode/index.js +19 -19
  229. package/dist/extensions/opencode-go/index.js +19 -19
  230. package/dist/extensions/openrouter/index.js +19 -19
  231. package/dist/extensions/sglang/index.js +19 -19
  232. package/dist/extensions/signal/api.js +19 -19
  233. package/dist/extensions/signal/index.js +22 -22
  234. package/dist/extensions/signal/runtime-api.js +19 -19
  235. package/dist/extensions/signal/setup-entry.js +22 -22
  236. package/dist/extensions/slack/api.js +19 -19
  237. package/dist/extensions/slack/index.js +23 -23
  238. package/dist/extensions/slack/node_modules/.package-lock.json +11 -8
  239. package/dist/extensions/slack/node_modules/axios/README.md +26 -1
  240. package/dist/extensions/slack/node_modules/axios/dist/axios.js +91 -100
  241. package/dist/extensions/slack/node_modules/axios/dist/axios.js.map +1 -1
  242. package/dist/extensions/slack/node_modules/axios/dist/axios.min.js +2 -2
  243. package/dist/extensions/slack/node_modules/axios/dist/axios.min.js.map +1 -1
  244. package/dist/extensions/slack/node_modules/axios/dist/browser/axios.cjs +70 -84
  245. package/dist/extensions/slack/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  246. package/dist/extensions/slack/node_modules/axios/dist/esm/axios.js +99 -116
  247. package/dist/extensions/slack/node_modules/axios/dist/esm/axios.js.map +1 -1
  248. package/dist/extensions/slack/node_modules/axios/dist/esm/axios.min.js +2 -2
  249. package/dist/extensions/slack/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  250. package/dist/extensions/slack/node_modules/axios/dist/node/axios.cjs +1421 -2367
  251. package/dist/extensions/slack/node_modules/axios/dist/node/axios.cjs.map +1 -1
  252. package/dist/extensions/slack/node_modules/axios/lib/adapters/fetch.js +5 -1
  253. package/dist/extensions/slack/node_modules/axios/lib/adapters/http.js +5 -2
  254. package/dist/extensions/slack/node_modules/axios/lib/core/Axios.js +0 -2
  255. package/dist/extensions/slack/node_modules/axios/lib/core/AxiosHeaders.js +3 -1
  256. package/dist/extensions/slack/node_modules/axios/lib/env/data.js +1 -1
  257. package/dist/extensions/slack/node_modules/axios/lib/helpers/buildURL.js +2 -2
  258. package/dist/extensions/slack/node_modules/axios/package.json +93 -132
  259. package/dist/extensions/slack/node_modules/proxy-from-env/README.md +43 -11
  260. package/dist/extensions/slack/node_modules/proxy-from-env/index.cjs +105 -0
  261. package/dist/extensions/slack/node_modules/proxy-from-env/index.js +14 -19
  262. package/dist/extensions/slack/node_modules/proxy-from-env/package.json +20 -11
  263. package/dist/extensions/slack/runtime-api.js +23 -23
  264. package/dist/extensions/slack/setup-entry.js +22 -22
  265. package/dist/extensions/synology-chat/index.js +21 -21
  266. package/dist/extensions/synology-chat/setup-api.js +19 -19
  267. package/dist/extensions/synology-chat/setup-entry.js +20 -20
  268. package/dist/extensions/tavily/index.js +19 -19
  269. package/dist/extensions/telegram/api.js +19 -19
  270. package/dist/extensions/telegram/index.js +21 -21
  271. package/dist/extensions/telegram/runtime-api.js +19 -19
  272. package/dist/extensions/telegram/setup-entry.js +21 -21
  273. package/dist/extensions/tlon/index.js +20 -20
  274. package/dist/extensions/tlon/setup-api.js +19 -19
  275. package/dist/extensions/tlon/setup-entry.js +20 -20
  276. package/dist/extensions/twitch/index.js +19 -19
  277. package/dist/extensions/vllm/index.js +19 -19
  278. package/dist/extensions/voice-call/api.js +19 -19
  279. package/dist/extensions/voice-call/index.js +19 -19
  280. package/dist/extensions/voice-call/runtime-api.js +19 -19
  281. package/dist/extensions/volcengine/index.js +19 -19
  282. package/dist/extensions/whatsapp/action-runtime-api.js +23 -23
  283. package/dist/extensions/whatsapp/action-runtime.runtime.js +23 -23
  284. package/dist/extensions/whatsapp/api.js +22 -22
  285. package/dist/extensions/whatsapp/auth-presence.js +19 -19
  286. package/dist/extensions/whatsapp/index.js +25 -25
  287. package/dist/extensions/whatsapp/light-runtime-api.js +22 -22
  288. package/dist/extensions/whatsapp/login-qr-api.js +21 -21
  289. package/dist/extensions/whatsapp/runtime-api.js +25 -25
  290. package/dist/extensions/whatsapp/setup-entry.js +23 -23
  291. package/dist/extensions/xai/index.js +19 -19
  292. package/dist/extensions/zai/index.js +20 -20
  293. package/dist/extensions/zai/media-understanding-provider.js +2 -2
  294. package/dist/extensions/zalo/api.js +19 -19
  295. package/dist/extensions/zalo/index.js +21 -21
  296. package/dist/extensions/zalo/runtime-api.js +19 -19
  297. package/dist/extensions/zalo/setup-entry.js +20 -20
  298. package/dist/extensions/zalouser/api.js +19 -19
  299. package/dist/extensions/zalouser/index.js +21 -21
  300. package/dist/extensions/zalouser/runtime-api.js +19 -19
  301. package/dist/extensions/zalouser/setup-entry.js +20 -20
  302. package/dist/{feishu-032avHo-.js → feishu-C8db2nD4.js} +2 -2
  303. package/dist/{gateway-cli-B6RmL7DU.js → gateway-cli-BhZJxUIQ.js} +52 -52
  304. package/dist/{get-reply-from-config.runtime-CNXikh4t.js → get-reply-from-config.runtime-DFU6Um_0.js} +19 -19
  305. package/dist/{health-jAeEfKcx.js → health-BRYBj_5M.js} +2 -2
  306. package/dist/{health-Cr2RHats.js → health-CHQfsRmf.js} +1 -1
  307. package/dist/{helper-api-D4pFdc-A.js → helper-api-BAFfB8Eq.js} +1 -1
  308. package/dist/{hooks-cli-OhIK-Jwz.js → hooks-cli-D680qRUg.js} +27 -27
  309. package/dist/{image-MtAkUhKP.js → image-F5pDB1aX.js} +19 -19
  310. package/dist/{image-generation-provider-CpNAFwzF.js → image-generation-provider-B6SkqaSK.js} +1 -1
  311. package/dist/{image-generation-provider-D8YsS1rn.js → image-generation-provider-D_5H6_l5.js} +1 -1
  312. package/dist/{image-generation-provider-UYEVOEd0.js → image-generation-provider-GwhE-YOJ.js} +1 -1
  313. package/dist/{imessage-D0fRSnp0.js → imessage-3enMK0oL.js} +5 -5
  314. package/dist/{imessage-B9WX3VyA.js → imessage-CqmmhRly.js} +20 -20
  315. package/dist/{imessage-DA6FgvBt.js → imessage-qV2vB2Yv.js} +1 -1
  316. package/dist/index.js +2 -2
  317. package/dist/{input-files-1btaqY7P.js → input-files-Bwd7Rs-c.js} +1 -1
  318. package/dist/{irc-YBAB_ERE.js → irc-DrWWRnSY.js} +2 -2
  319. package/dist/{kb-cli-DgdR904k.js → kb-cli-Ck-nSjXd.js} +6 -6
  320. package/dist/{level-overrides-DuwDsvf4.js → level-overrides-X6UNF009.js} +3 -3
  321. package/dist/{library-8bTT9vzg.js → library-DmIlb86_.js} +19 -19
  322. package/dist/{line-Bzir-OER.js → line-BgImerRg.js} +2 -2
  323. package/dist/{llm-slug-generator-CyV5su8d.js → llm-slug-generator-DQijKyaC.js} +1 -1
  324. package/dist/llm-slug-generator.js +20 -20
  325. package/dist/{login-qr-C787VIZB.js → login-qr-D0IAlBAC.js} +2 -2
  326. package/dist/{login-qr-DIGtSUSe.js → login-qr-DniSe8iC.js} +21 -21
  327. package/dist/{manager.runtime-BiGaBsRN.js → manager.runtime-xm4xKgte.js} +19 -19
  328. package/dist/{matrix-B8InU2XN.js → matrix-BNIQQoE_.js} +1 -1
  329. package/dist/{matrix-migration-snapshot-BV2mwHhy.js → matrix-migration-snapshot-BipzOsHf.js} +1 -1
  330. package/dist/{mattermost-CFQiUJCu.js → mattermost-D6Fy4qN7.js} +2 -2
  331. package/dist/{media-understanding-BXkVRtCI.js → media-understanding-DJxYqJn2.js} +1 -1
  332. package/dist/{media-understanding-provider-CI5MQviC.js → media-understanding-provider-4eF385V2.js} +1 -1
  333. package/dist/{media-understanding-provider-BgyEbqug.js → media-understanding-provider-CgHUcWaB.js} +1 -1
  334. package/dist/{media-understanding-provider-8FcgSAxz.js → media-understanding-provider-CpzJJwj-.js} +1 -1
  335. package/dist/{media-understanding-provider-DIdBJ9Xp.js → media-understanding-provider-D1B39cXD.js} +1 -1
  336. package/dist/{media-understanding-provider-BcCjF67F.js → media-understanding-provider-DmNcx7tm.js} +1 -1
  337. package/dist/{media-understanding-provider-CsJmTq35.js → media-understanding-provider-_7CqM13n.js} +1 -1
  338. package/dist/{media-understanding-provider-CBOmy0_0.js → media-understanding-provider-lhiwHTQe.js} +1 -1
  339. package/dist/{media-understanding.runtime-DVVJmGSv.js → media-understanding.runtime-CovHOYvs.js} +19 -19
  340. package/dist/{memory-cli-CmlCSSU8.js → memory-cli-f2A63Z3i.js} +1 -1
  341. package/dist/{memory-cli.runtime-Z_TFVK44.js → memory-cli.runtime-CrZ3hOR4.js} +20 -20
  342. package/dist/{memory-tool.runtime-CbpALwGz.js → memory-tool.runtime-tPWYHa4h.js} +8 -8
  343. package/dist/{message-handler-DJCUJDuA.js → message-handler-CPqHBuUA.js} +5 -5
  344. package/dist/{model-catalog.runtime-2xR9DL3-.js → model-catalog.runtime-J03LOP_0.js} +19 -19
  345. package/dist/{model-picker-6CJrma4y.js → model-picker-B1dYBlNq.js} +20 -20
  346. package/dist/{model-picker-Dru3xiO2.js → model-picker-BLbQLW-8.js} +2 -2
  347. package/dist/{model-picker.runtime-BXOTybjR.js → model-picker.runtime-DqkKpuuM.js} +21 -21
  348. package/dist/{model-suppression.runtime-Ch3LqX5E.js → model-suppression.runtime-DZ5rCs4V.js} +19 -19
  349. package/dist/{models-DQKHO2UC.js → models-DZagEqNI.js} +23 -23
  350. package/dist/{models-CaJUrFJw.js → models-FROY9JT8.js} +5 -5
  351. package/dist/{models-cli-DkSoyfO3.js → models-cli-C7WtN2US.js} +23 -23
  352. package/dist/{models-config-DZWh3wCS.js → models-config-BxPPQ_Xn.js} +19 -19
  353. package/dist/{models-config.runtime-Csw9D9Eh.js → models-config.runtime-CX16Xh37.js} +19 -19
  354. package/dist/{mongodb-analytics-DrEyw-zF.js → mongodb-analytics-Csq_gZGe.js} +1 -1
  355. package/dist/{mongodb-analytics-CrA0mSGw.js → mongodb-analytics-D5c4_54u.js} +2 -2
  356. package/dist/{mongodb-kb-DUUWKxNi.js → mongodb-kb-DLMbN3EX.js} +1 -1
  357. package/dist/{mongodb-kb-search-BGTpjjGf.js → mongodb-kb-search-41d-jF5h.js} +3 -3
  358. package/dist/{mongodb-kb-search-Cgkz-lmv.js → mongodb-kb-search-p3yHZihO.js} +1 -1
  359. package/dist/{mongodb-manager-BV_j5Yce.js → mongodb-manager-CZKPOn9-.js} +835 -99
  360. package/dist/{mongodb-manager-Biv93U0H.js → mongodb-manager-DB_QPKNS.js} +7 -7
  361. package/dist/{mongodb-procedures-Cw_cRVPq.js → mongodb-procedures-BxD5_Od0.js} +3 -3
  362. package/dist/{mongodb-procedures-DnwLD-cO.js → mongodb-procedures-FqFUZ4EE.js} +2 -2
  363. package/dist/{mongodb-schema-BVL5w9BA.js → mongodb-schema-CQaRrvZd.js} +1 -1
  364. package/dist/{mongodb-schema-GMwMn5aY.js → mongodb-schema-xrNHiVhH.js} +128 -31
  365. package/dist/{mongodb-search-DLeKW4uS.js → mongodb-search-C7HfqDY2.js} +1 -1
  366. package/dist/{mongodb-structured-memory-0q2ekhJA.js → mongodb-structured-memory-D1yQLG0x.js} +3 -3
  367. package/dist/{mongodb-structured-memory-B-kVmcth.js → mongodb-structured-memory-Yccp2p-h.js} +2 -2
  368. package/dist/{monitor-C69ir4uG.js → monitor-BME1o7pu.js} +19 -19
  369. package/dist/{monitor-CDt0S8xC.js → monitor-Chh7Miml.js} +27 -27
  370. package/dist/{monitor-SuEcqRu3.js → monitor-D6IJ9tTv.js} +3 -3
  371. package/dist/{monitor-Xo3VU-wW.js → monitor-DEpKYWtl.js} +19 -19
  372. package/dist/{monitor-DRB_fLkJ.js → monitor-DKkPvN7m.js} +20 -20
  373. package/dist/{monitor-BIyUFMVX.js → monitor-DOu3Ia0T.js} +1 -1
  374. package/dist/{nextcloud-talk-agsgfFjz.js → nextcloud-talk-D0WWjkP4.js} +2 -2
  375. package/dist/{node-cli-DofJfBBE.js → node-cli-Dg4euaAB.js} +19 -19
  376. package/dist/{nodes-cli-SNw1MX_K.js → nodes-cli-CR7K7GJ0.js} +19 -19
  377. package/dist/{oauth-DBzhQTd_.js → oauth-B4LMwV_0.js} +1 -1
  378. package/dist/{onboard-CvTseD2x.js → onboard-CZDDU8yf.js} +4 -4
  379. package/dist/{onboard-channels-GUcSQbZH.js → onboard-channels-BcBffi7N.js} +68 -68
  380. package/dist/{onboard-channels-Bo5d3rof.js → onboard-channels-CCjGYLNZ.js} +21 -21
  381. package/dist/{onboard-custom-jzmYeBPE.js → onboard-custom-BZ-vv1WO.js} +1 -1
  382. package/dist/{onboard-custom-DwgQ4K34.js → onboard-custom-CkTSj0YZ.js} +21 -21
  383. package/dist/{onboard-search-BFP8baYg.js → onboard-search-DoLw7J22.js} +19 -19
  384. package/dist/{onboarding-memory-K_kjXDqY.js → onboarding-memory-DAIRJoqn.js} +2 -2
  385. package/dist/{openai-codex-provider-BRyHUGXD.js → openai-codex-provider-CpEAQYdU.js} +2 -2
  386. package/dist/{openai-provider-BhmM1Cq4.js → openai-provider-DmPBYNJG.js} +1 -1
  387. package/dist/{openclaw-tools.runtime-BiR0y2tq.js → openclaw-tools.runtime-Bk0T5vfp.js} +19 -19
  388. package/dist/{pi-embedded-Co091_an.js → pi-embedded-gwZ5hg-9.js} +39 -39
  389. package/dist/{pi-embedded.runtime-aBYwZl1k.js → pi-embedded.runtime-DbyjNojX.js} +19 -19
  390. package/dist/{plugin-entry.runtime-CBQYDDSg.js → plugin-entry.runtime-BBozbg33.js} +25 -25
  391. package/dist/{plugin-install-Bq-UaXp5.js → plugin-install-BJxeypaA.js} +20 -20
  392. package/dist/{plugin-install-DYdfHNHF.js → plugin-install-CD7iRmTH.js} +1 -1
  393. package/dist/{plugin-install-config-policy-CAUakocL.js → plugin-install-config-policy-DAx-ilyj.js} +1 -1
  394. package/dist/{plugin-registry-DkTJiea7.js → plugin-registry-B0XRdoj7.js} +1 -1
  395. package/dist/{plugin-registry-E-375dF2.js → plugin-registry-CRe2cv80.js} +20 -20
  396. package/dist/plugin-sdk/account-resolution.js +19 -19
  397. package/dist/plugin-sdk/agent-runtime.js +19 -19
  398. package/dist/plugin-sdk/allow-from.js +19 -19
  399. package/dist/plugin-sdk/bluebubbles.js +19 -19
  400. package/dist/plugin-sdk/channel-config-helpers.js +19 -19
  401. package/dist/plugin-sdk/channel-inbound.js +19 -19
  402. package/dist/plugin-sdk/channel-policy.js +19 -19
  403. package/dist/plugin-sdk/channel-runtime.js +19 -19
  404. package/dist/plugin-sdk/command-auth.js +19 -19
  405. package/dist/plugin-sdk/compat.js +19 -19
  406. package/dist/plugin-sdk/core.js +19 -19
  407. package/dist/plugin-sdk/directory-runtime.js +1 -1
  408. package/dist/plugin-sdk/discord.js +29 -29
  409. package/dist/plugin-sdk/feishu.js +19 -19
  410. package/dist/plugin-sdk/googlechat.js +19 -19
  411. package/dist/plugin-sdk/image-generation-core.js +19 -19
  412. package/dist/plugin-sdk/image-generation.js +21 -21
  413. package/dist/plugin-sdk/imessage-core.js +19 -19
  414. package/dist/plugin-sdk/imessage.js +20 -20
  415. package/dist/plugin-sdk/index.js +21 -21
  416. package/dist/plugin-sdk/infra-runtime.js +19 -19
  417. package/dist/plugin-sdk/irc.js +19 -19
  418. package/dist/plugin-sdk/line-core.js +19 -19
  419. package/dist/plugin-sdk/line-runtime.js +19 -19
  420. package/dist/plugin-sdk/line.js +19 -19
  421. package/dist/plugin-sdk/matrix-runtime-heavy.js +21 -21
  422. package/dist/plugin-sdk/matrix.js +20 -20
  423. package/dist/plugin-sdk/mattermost.js +19 -19
  424. package/dist/plugin-sdk/media-runtime.js +19 -19
  425. package/dist/plugin-sdk/media-understanding-runtime.js +19 -19
  426. package/dist/plugin-sdk/media-understanding.js +1 -1
  427. package/dist/plugin-sdk/msteams.js +19 -19
  428. package/dist/plugin-sdk/nextcloud-talk.js +19 -19
  429. package/dist/plugin-sdk/nostr.js +19 -19
  430. package/dist/plugin-sdk/plugin-runtime.js +19 -19
  431. package/dist/plugin-sdk/provider-auth-api-key.js +2 -2
  432. package/dist/plugin-sdk/provider-auth-login.js +1 -1
  433. package/dist/plugin-sdk/provider-auth.js +19 -19
  434. package/dist/plugin-sdk/provider-stream.js +19 -19
  435. package/dist/plugin-sdk/reply-runtime.js +19 -19
  436. package/dist/plugin-sdk/signal.js +19 -19
  437. package/dist/plugin-sdk/slack.js +23 -23
  438. package/dist/plugin-sdk/speech-core.js +19 -19
  439. package/dist/plugin-sdk/speech-runtime.js +19 -19
  440. package/dist/plugin-sdk/speech.js +19 -19
  441. package/dist/plugin-sdk/src/memory/index.d.ts +1 -1
  442. package/dist/plugin-sdk/src/memory/mongodb-manager.d.ts +21 -1
  443. package/dist/plugin-sdk/src/memory/mongodb-query-cache.d.ts +3 -0
  444. package/dist/plugin-sdk/src/memory/mongodb-retrieval-planner.d.ts +7 -0
  445. package/dist/plugin-sdk/src/memory/mongodb-search-executor.d.ts +106 -0
  446. package/dist/plugin-sdk/src/memory/search-utils.d.ts +8 -0
  447. package/dist/plugin-sdk/src/memory/types.d.ts +89 -0
  448. package/dist/plugin-sdk/telegram.js +19 -19
  449. package/dist/plugin-sdk/voice-call.js +19 -19
  450. package/dist/plugin-sdk/whatsapp-core.js +22 -22
  451. package/dist/plugin-sdk/whatsapp-shared.js +19 -19
  452. package/dist/plugin-sdk/zalo.js +19 -19
  453. package/dist/plugin-sdk/zalouser.js +19 -19
  454. package/dist/plugins/build-smoke-entry.js +19 -19
  455. package/dist/plugins/provider-runtime.runtime.js +1 -1
  456. package/dist/plugins/runtime/index.js +32 -32
  457. package/dist/{plugins-cli-DfF6zVw5.js → plugins-cli-qs-em8oU.js} +27 -27
  458. package/dist/{plugins-command-helpers-CwQ6OC2v.js → plugins-command-helpers-C0nk-qrd.js} +1 -1
  459. package/dist/{plugins-install-persist-1OHlLaq2.js → plugins-install-persist-DnOXl6E3.js} +1 -1
  460. package/dist/{plugins-update-command-BXC9BF3H.js → plugins-update-command-CtwLANvC.js} +4 -4
  461. package/dist/{poll-summary-DhAosjGw.js → poll-summary-mPV4LjSe.js} +1 -1
  462. package/dist/{preflight-audio.runtime-C85FHgtP.js → preflight-audio.runtime-Dj61qIC0.js} +19 -19
  463. package/dist/{probe-DjQoKbwz.js → probe-By9GWU38.js} +1 -1
  464. package/dist/{profile-update-DYmh_XMw.js → profile-update-D2aXkjSd.js} +3 -3
  465. package/dist/{program-DbqKjPvP.js → program-DPZ1_a3q.js} +26 -26
  466. package/dist/{prompt-select-styled-CI9PmwhK.js → prompt-select-styled-B1HZzUEM.js} +102 -20
  467. package/dist/{provider-BK7pHDG6.js → provider-BaahuVFX.js} +10 -10
  468. package/dist/{provider-auth-choice-oRq4HV9r.js → provider-auth-choice-CSoUYmew.js} +1 -1
  469. package/dist/{provider-auth-choice-preference-yjBut-C5.js → provider-auth-choice-preference-CrxAo3BY.js} +2 -2
  470. package/dist/{provider-auth-choice.runtime-eOUq3Tf2.js → provider-auth-choice.runtime-DUgq2ClG.js} +21 -21
  471. package/dist/{provider-auth-choice.runtime-B-qUcAA_.js → provider-auth-choice.runtime-w2nVW5WK.js} +2 -2
  472. package/dist/{provider-auth-guidance-DvSjjID0.js → provider-auth-guidance-MYPwodls.js} +1 -1
  473. package/dist/{provider-auth-login-CH373M_7.js → provider-auth-login-CLO7UQyn.js} +1 -1
  474. package/dist/{provider-auth-login.runtime-DVRRk8I2.js → provider-auth-login.runtime-CgfVXGFU.js} +19 -19
  475. package/dist/{provider-runtime-Bbtb5Zog.js → provider-runtime-BDMlGGzb.js} +19 -19
  476. package/dist/{provider-runtime.runtime-B-d-D5Kz.js → provider-runtime.runtime-BDdRJh54.js} +1 -1
  477. package/dist/{provider-session.runtime-wDrkFHvn.js → provider-session.runtime-CAqHLehG.js} +23 -23
  478. package/dist/{provider-usage-gzNKR4mS.js → provider-usage-CGCChzhD.js} +19 -19
  479. package/dist/{provider-wizard-hN_fAXfG.js → provider-wizard-CHAa6htg.js} +1 -1
  480. package/dist/{provider.runtime-DwN-v881.js → provider.runtime-B6_VOu8j.js} +25 -25
  481. package/dist/{push-apns-C5Uk-nC3.js → push-apns-BegW0CyP.js} +1 -1
  482. package/dist/{qr-cli-BbuWpIuy.js → qr-cli-B-2zezlv.js} +1 -1
  483. package/dist/{qr-cli-DOYdibf2.js → qr-cli-BWAgHWa5.js} +20 -20
  484. package/dist/{read-only-account-inspect-w1amnKer.js → read-only-account-inspect-1yQMBx2j.js} +3 -3
  485. package/dist/{read-only-account-inspect.discord.runtime-D2cC-4_X.js → read-only-account-inspect.discord.runtime-BP_lN82K.js} +19 -19
  486. package/dist/{read-only-account-inspect.slack.runtime-ZP9jhJcE.js → read-only-account-inspect.slack.runtime-BlozBKFg.js} +19 -19
  487. package/dist/{read-only-account-inspect.telegram.runtime-BpZ-3hxu.js → read-only-account-inspect.telegram.runtime-C_tpGKq8.js} +19 -19
  488. package/dist/{register.agent-DiQgJ89K.js → register.agent-C4LmgQ-8.js} +79 -79
  489. package/dist/{register.configure-CtFlREe1.js → register.configure-l8gksRmW.js} +80 -80
  490. package/dist/{register.maintenance-BhnKvBAb.js → register.maintenance-CpeKzgwN.js} +35 -35
  491. package/dist/{register.message-CUkFT4PI.js → register.message-DiznSCij.js} +20 -20
  492. package/dist/{register.onboard-BQxwgj-_.js → register.onboard-Cb6BnJfK.js} +24 -24
  493. package/dist/{register.setup-CLjB8Dtk.js → register.setup-DwqjH9AK.js} +22 -22
  494. package/dist/{register.status-health-sessions-DdHFD-kt.js → register.status-health-sessions-BrxQ6KEn.js} +25 -25
  495. package/dist/{register.subclis-B4zf3Nuq.js → register.subclis-B4XVc_4x.js} +18 -18
  496. package/dist/{register.subclis-CVzODp-F.js → register.subclis-B70v2Dok.js} +1 -1
  497. package/dist/{replies-D3IVK5Zm.js → replies-ClRihEvG.js} +1 -1
  498. package/dist/{reply-payloads-dedupe.runtime-BbYht9yH.js → reply-payloads-dedupe.runtime-BZYaCeIo.js} +19 -19
  499. package/dist/{resolve-allowlist-BgUySVP0.js → resolve-allowlist-CgW3bkqX.js} +1 -1
  500. package/dist/{resolve-channels-ChqMQdlk.js → resolve-channels-Q1GpSjyL.js} +2 -2
  501. package/dist/{resolve-targets-CkaDv15d.js → resolve-targets-D995HebZ.js} +1 -1
  502. package/dist/{resolve-users-CWreAWn8.js → resolve-users-BtO5FIEX.js} +1 -1
  503. package/dist/{resolve-users-KHapSSfM.js → resolve-users-DpT4k4Cr.js} +1 -1
  504. package/dist/{route-reply.runtime-CnaIn-qC.js → route-reply.runtime-BhbLZOmm.js} +19 -19
  505. package/dist/{route-resolution-C_EcVPhm.js → route-resolution-BIJbRie_.js} +1 -1
  506. package/dist/{run-main-BsVSrcN_.js → run-main-7-vbPft2.js} +17 -17
  507. package/dist/{runtime-5FvGEKxh.js → runtime-C9XRxMGJ.js} +182 -27
  508. package/dist/{runtime-api-Dgo4Q55T.js → runtime-api-BCnvHBxV.js} +1 -1
  509. package/dist/{runtime-api-CVKb2LXQ.js → runtime-api-BUMpVHJ6.js} +1 -1
  510. package/dist/{runtime-api-BErp2YEb.js → runtime-api-C4Y64RLo.js} +7 -7
  511. package/dist/{runtime-discord-ops.runtime-Chk1BYXI.js → runtime-discord-ops.runtime-BosFi3Mj.js} +29 -29
  512. package/dist/{runtime-embedded-pi.runtime-BZQ5kX8u.js → runtime-embedded-pi.runtime-wwT1tEAw.js} +19 -19
  513. package/dist/{runtime-media-understanding.runtime-D2FcTJOu.js → runtime-media-understanding.runtime-DdbTCMUB.js} +19 -19
  514. package/dist/{runtime-model-auth.runtime-Z-OqYqyi.js → runtime-model-auth.runtime-CNummRuy.js} +19 -19
  515. package/dist/{runtime-schema-Cqjdf8in.js → runtime-schema-BktzaAdG.js} +2 -2
  516. package/dist/{runtime-slack-ops.runtime-AL97qKPw.js → runtime-slack-ops.runtime--d6by7cL.js} +23 -23
  517. package/dist/{runtime-telegram-ops.runtime-DxfCchkI.js → runtime-telegram-ops.runtime-BUfCKAVq.js} +19 -19
  518. package/dist/{runtime-tts.runtime-BlmtrtjE.js → runtime-tts.runtime-DA096WA3.js} +19 -19
  519. package/dist/{search-manager-CGO-3dKu.js → search-manager-BlT2Zb4i.js} +1 -1
  520. package/dist/{search-manager-CS9u92oP.js → search-manager-DQd2otzd.js} +1 -1
  521. package/dist/{secrets-cli-DUZNkEFh.js → secrets-cli-CTouKWW9.js} +19 -19
  522. package/dist/{security-cli-rV3d5xoZ.js → security-cli-CiXKrtth.js} +20 -20
  523. package/dist/{send-B0xLU00X.js → send-BSca4GIA.js} +5 -5
  524. package/dist/{server-node-events-B5MIqHgC.js → server-node-events-fU7K5ls1.js} +20 -20
  525. package/dist/{server-startup-matrix-migration-CpXrqvXI.js → server-startup-matrix-migration-CVmhTfDY.js} +2 -2
  526. package/dist/{session-wGltxAdM.js → session-D3jpdP6d.js} +1 -1
  527. package/dist/{session-cost-usage-DTYqtcLN.js → session-cost-usage-7-YeoAlD.js} +20 -20
  528. package/dist/{session-cost-usage-CwCnoOHW.js → session-cost-usage-BjLshLU6.js} +1 -1
  529. package/dist/{session-system-events-Bp6nE5En.js → session-system-events-AQo6KIlo.js} +1 -1
  530. package/dist/{session-updates.runtime-OfmZ7igB.js → session-updates.runtime-BPOrfQZT.js} +3 -3
  531. package/dist/{sessions-DhCUH5Gr.js → sessions-48iXwZnl.js} +20 -20
  532. package/dist/{sessions-BU2oWFP1.js → sessions-CJTqXLS8.js} +2 -2
  533. package/dist/{setup-O9acDtfi.js → setup-DPELG2Vp.js} +9 -9
  534. package/dist/{setup-core-BeCRtZtb.js → setup-core-BCeD5CV6.js} +1 -1
  535. package/dist/{setup-core-CJ1YGhvT.js → setup-core-BMWAhyRq.js} +2 -2
  536. package/dist/{setup-core-D4kXAbMv.js → setup-core-Bf9ZwvjX.js} +1 -1
  537. package/dist/{setup-core-DCJBGsVz.js → setup-core-DYP0wxtc.js} +1 -1
  538. package/dist/{setup-entry-ThbCklDH.js → setup-entry-B-Oy31eD.js} +3 -3
  539. package/dist/{setup-entry-Cw06Kmxh.js → setup-entry-B29P2khw.js} +2 -2
  540. package/dist/{setup-entry-DVwdntnF.js → setup-entry-BOEd0Ane.js} +2 -2
  541. package/dist/{setup-entry-C9TrfYIV.js → setup-entry-C4TPJwTw.js} +3 -3
  542. package/dist/{setup-entry-rsEnOaFI.js → setup-entry-Cpojh89d.js} +3 -3
  543. package/dist/{setup-entry-B292hKEh.js → setup-entry-Hfrt8kt9.js} +2 -2
  544. package/dist/{setup-surface-C0649DZF.js → setup-surface-BhRNCMPg.js} +1 -1
  545. package/dist/{setup-surface-Ddhe1d6X.js → setup-surface-Bq3MzRTO.js} +2 -2
  546. package/dist/{setup-surface-LQP0zEJw.js → setup-surface-CoFPZdQS.js} +22 -22
  547. package/dist/{setup-surface-i3fRyh0E.js → setup-surface-E4hLJsq5.js} +2 -2
  548. package/dist/{setup-surface-CeNYw1hO.js → setup-surface-W2VLxXDM.js} +1 -1
  549. package/dist/{setup.finalize-BFW127lu.js → setup.finalize-84Gf0ObS.js} +27 -27
  550. package/dist/{shared-DxWAkuUd.js → shared-BJMhOB2G.js} +3 -3
  551. package/dist/{shared-BvXSIdhL.js → shared-D0XeAdo9.js} +3 -3
  552. package/dist/{shared-CduAoq6D.js → shared-RHV7JyZc.js} +2 -2
  553. package/dist/{shared-B_m8rpzz.js → shared-cjPYmDse.js} +1 -1
  554. package/dist/{shared-Bv7D0cvs.js → shared-nNepSWGa.js} +3 -3
  555. package/dist/{shared-DjTqchJL.js → shared-uMMtJTMV.js} +1 -1
  556. package/dist/{signal-BOqRoG7_.js → signal-CME5sJ0w.js} +3 -3
  557. package/dist/{signal-B3JE51EF.js → signal-D4Lbf988.js} +19 -19
  558. package/dist/{slack-DQMZKIuW.js → slack-CODJLiIt.js} +23 -23
  559. package/dist/{slack-ECt4h0Hu.js → slack-gymwMRHI.js} +4 -4
  560. package/dist/{slash-commands.runtime-DWt0QyST.js → slash-commands.runtime-BU-vIH8R.js} +19 -19
  561. package/dist/{slash-dispatch.runtime-BeTERhvj.js → slash-dispatch.runtime-Dhfe7IYa.js} +20 -20
  562. package/dist/{slash-skill-commands.runtime-Cid-sSa3.js → slash-skill-commands.runtime-mw13ajQT.js} +19 -19
  563. package/dist/{src-XVdNPr4B.js → src-BlkqMEit.js} +21 -21
  564. package/dist/{status-CWaWMoOB.js → status-1rpgeSGa.js} +1 -1
  565. package/dist/{status-CXOVuCND.js → status-BZsBg9xV.js} +24 -24
  566. package/dist/{status-B8LdUsqp.js → status-CC-ehab5.js} +9 -9
  567. package/dist/{status-rqxi-BQ-.js → status-Dw5aNMUi.js} +1 -1
  568. package/dist/{status-json-DA8vURuP.js → status-json-DQ99lhAL.js} +5 -5
  569. package/dist/{status.link-channel-i1B0BhMt.js → status.link-channel-DuNmDjGh.js} +2 -2
  570. package/dist/{status.scan.deps.runtime--ESlvC-h.js → status.scan.deps.runtime-DWQ5IOU6.js} +8 -8
  571. package/dist/{status.scan.json-core-B5fWzAXX.js → status.scan.json-core-B0T4DsPj.js} +4 -4
  572. package/dist/{status.scan.runtime-CbZR0ayi.js → status.scan.runtime-DkJC6Vgv.js} +2 -2
  573. package/dist/{subagent-orphan-recovery-CwzQuKXV.js → subagent-orphan-recovery-DSxLQZvE.js} +19 -19
  574. package/dist/{subagent-registry-runtime-BASPOpkx.js → subagent-registry-runtime-CV_OzD0q.js} +19 -19
  575. package/dist/{synology-chat-O8fctw-z.js → synology-chat-BaUHBtMN.js} +2 -2
  576. package/dist/{targets-CIpEQq5a.js → targets-CjzBweAX.js} +1 -1
  577. package/dist/telegram/audit.js +1 -1
  578. package/dist/telegram/token.js +19 -19
  579. package/dist/{telegram-BQLx1Cmm.js → telegram-CkAzNmH7.js} +19 -19
  580. package/dist/{telegram-CdyPvNcV.js → telegram-EebZvTzh.js} +5 -5
  581. package/dist/{thread-bindings-CPuNENBW.js → thread-bindings-IDx8jZ0O.js} +2 -2
  582. package/dist/{thread-bindings-DUZj5oTC.js → thread-bindings-sapdPwgA.js} +1 -1
  583. package/dist/{thread-bindings.messages-wvAd3TUZ.js → thread-bindings.messages-r4Dz6nBF.js} +1 -1
  584. package/dist/{tool-actions.runtime-B9ha--Vj.js → tool-actions.runtime-D69_bV8W.js} +27 -27
  585. package/dist/{tts.runtime-GeJEVmoE.js → tts.runtime-Bj0GrgrY.js} +19 -19
  586. package/dist/{tui-D8O3rgl9.js → tui-CoAq-5WQ.js} +1 -1
  587. package/dist/{tui-cli-D8kw-oSV.js → tui-cli-CYjvD-kF.js} +20 -20
  588. package/dist/{ui-CVFJs1wJ.js → ui-BijfqGyW.js} +1 -1
  589. package/dist/{update-cli-TTPqi6r3.js → update-cli-BxmI8tEh.js} +35 -35
  590. package/dist/{update-offset-store-e6CGb6BA.js → update-offset-store-CWYWIMKg.js} +19 -19
  591. package/dist/{verification-CIgqa4HW.js → verification-DRHMZMyz.js} +3 -3
  592. package/dist/{webhook-shared-CljrL-0X.js → webhook-shared-CYZN-G1z.js} +1 -1
  593. package/dist/{whatsapp-core-CaAr8WsA.js → whatsapp-core-C_MCKbIX.js} +1 -1
  594. package/dist/{zalo-D1hFuacG.js → zalo-gLJk_7Mo.js} +2 -2
  595. package/docs/concepts/memory.md +7 -0
  596. package/docs/reference/memory-config.md +10 -0
  597. package/docs/research/2026-03-28-agentic-search-review-github.md +308 -0
  598. package/docs/research/2026-03-28-agentic-search-review-web.md +331 -0
  599. package/docs/research/2026-03-28-brainstorm-validation-github.md +192 -0
  600. package/docs/research/2026-03-28-brainstorm-validation-synthesis.md +190 -0
  601. package/docs/research/2026-03-28-brainstorm-validation-web.md +395 -0
  602. package/package.json +2 -1
  603. package/dist/extensions/slack/node_modules/proxy-from-env/.eslintrc +0 -29
  604. package/dist/extensions/slack/node_modules/proxy-from-env/.travis.yml +0 -10
  605. package/dist/extensions/slack/node_modules/proxy-from-env/test.js +0 -483
@@ -66,8 +66,10 @@ const factory = (env) => {
66
66
  test(() => {
67
67
  let duplexAccessed = false;
68
68
 
69
+ const body = new ReadableStream();
70
+
69
71
  const hasContentType = new Request(platform.origin, {
70
- body: new ReadableStream(),
72
+ body,
71
73
  method: 'POST',
72
74
  get duplex() {
73
75
  duplexAccessed = true;
@@ -75,6 +77,8 @@ const factory = (env) => {
75
77
  },
76
78
  }).headers.has('Content-Type');
77
79
 
80
+ body.cancel();
81
+
78
82
  return duplexAccessed && !hasContentType;
79
83
  });
80
84
 
@@ -2,7 +2,7 @@ import utils from '../utils.js';
2
2
  import settle from '../core/settle.js';
3
3
  import buildFullPath from '../core/buildFullPath.js';
4
4
  import buildURL from '../helpers/buildURL.js';
5
- import proxyFromEnv from 'proxy-from-env';
5
+ import { getProxyForUrl } from 'proxy-from-env';
6
6
  import http from 'http';
7
7
  import https from 'https';
8
8
  import http2 from 'http2';
@@ -108,6 +108,9 @@ class Http2Sessions {
108
108
  } else {
109
109
  entries.splice(i, 1);
110
110
  }
111
+ if (!session.closed) {
112
+ session.close();
113
+ }
111
114
  return;
112
115
  }
113
116
  }
@@ -187,7 +190,7 @@ function dispatchBeforeRedirect(options, responseDetails) {
187
190
  function setProxy(options, configProxy, location) {
188
191
  let proxy = configProxy;
189
192
  if (!proxy && proxy !== false) {
190
- const proxyUrl = proxyFromEnv.getProxyForUrl(location);
193
+ const proxyUrl = getProxyForUrl(location);
191
194
  if (proxyUrl) {
192
195
  proxy = new URL(proxyUrl);
193
196
  }
@@ -236,8 +236,6 @@ utils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData
236
236
  });
237
237
 
238
238
  utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
239
- /*eslint func-names:0*/
240
-
241
239
  function generateHTTPMethod(isForm) {
242
240
  return function httpMethod(url, data, config) {
243
241
  return this.request(
@@ -14,7 +14,9 @@ function normalizeValue(value) {
14
14
  return value;
15
15
  }
16
16
 
17
- return utils.isArray(value) ? value.map(normalizeValue) : String(value);
17
+ return utils.isArray(value)
18
+ ? value.map(normalizeValue)
19
+ : String(value).replace(/[\r\n]+$/, '');
18
20
  }
19
21
 
20
22
  function parseTokens(str) {
@@ -1 +1 @@
1
- export const VERSION = "1.13.6";
1
+ export const VERSION = "1.14.0";
@@ -4,8 +4,8 @@ import utils from '../utils.js';
4
4
  import AxiosURLSearchParams from '../helpers/AxiosURLSearchParams.js';
5
5
 
6
6
  /**
7
- * It replaces all instances of the characters `:`, `$`, `,`, `+`, `[`, and `]` with their
8
- * URI encoded counterparts
7
+ * It replaces URL-encoded forms of `:`, `$`, `,`, and spaces with
8
+ * their plain counterparts (`:`, `$`, `,`, `+`).
9
9
  *
10
10
  * @param {string} val The value to be encoded.
11
11
  *
@@ -1,9 +1,14 @@
1
1
  {
2
2
  "name": "axios",
3
- "version": "1.13.6",
3
+ "version": "1.14.0",
4
4
  "description": "Promise based HTTP client for the browser and node.js",
5
- "main": "./index.js",
5
+ "main": "./dist/node/axios.cjs",
6
6
  "module": "./index.js",
7
+ "type": "module",
8
+ "types": "index.d.ts",
9
+ "jsdelivr": "dist/axios.min.js",
10
+ "unpkg": "dist/axios.min.js",
11
+ "typings": "./index.d.ts",
7
12
  "exports": {
8
13
  ".": {
9
14
  "types": {
@@ -42,30 +47,17 @@
42
47
  "./dist/browser/axios.cjs": "./dist/browser/axios.cjs",
43
48
  "./dist/node/axios.cjs": "./dist/node/axios.cjs"
44
49
  },
45
- "type": "module",
46
- "types": "index.d.ts",
47
- "scripts": {
48
- "test": "npm run test:node && npm run test:browser && npm run test:package",
49
- "test:node": "npm run test:mocha",
50
- "test:node:coverage": "c8 npm run test:mocha",
51
- "test:browser": "npm run test:karma",
52
- "test:package": "npm run test:eslint && npm run test:exports",
53
- "test:eslint": "node bin/ssl_hotfix.js eslint lib/**/*.js",
54
- "test:mocha": "node bin/ssl_hotfix.js mocha test/unit/**/*.js --timeout 30000 --exit",
55
- "test:exports": "node bin/ssl_hotfix.js mocha test/module/test.js --timeout 30000 --exit",
56
- "test:karma": "node ./bin/run-karma-tests.js",
57
- "test:karma:firefox": "node bin/ssl_hotfix.js cross-env LISTEN_ADDR=:: Browsers=Firefox karma start karma.conf.cjs --single-run",
58
- "test:karma:server": "node bin/ssl_hotfix.js cross-env karma start karma.conf.cjs",
59
- "test:build:version": "node ./bin/check-build-version.js",
60
- "start": "node ./sandbox/server.js",
61
- "preversion": "gulp version",
62
- "version": "npm run build && git add package.json",
63
- "prepublishOnly": "npm run test:build:version",
64
- "build": "gulp clear && cross-env NODE_ENV=production rollup -c -m",
65
- "examples": "node ./examples/server.js",
66
- "fix": "eslint --fix lib/**/*.js",
67
- "prepare": "husky install && npm run prepare:hooks",
68
- "prepare:hooks": "npx husky set .husky/commit-msg \"npx commitlint --edit $1\""
50
+ "browser": {
51
+ "./dist/node/axios.cjs": "./dist/browser/axios.cjs",
52
+ "./lib/adapters/http.js": "./lib/helpers/null.js",
53
+ "./lib/platform/node/index.js": "./lib/platform/browser/index.js",
54
+ "./lib/platform/node/classes/FormData.js": "./lib/helpers/null.js"
55
+ },
56
+ "react-native": {
57
+ "./dist/node/axios.cjs": "./dist/browser/axios.cjs",
58
+ "./lib/adapters/http.js": "./lib/helpers/null.js",
59
+ "./lib/platform/node/index.js": "./lib/platform/browser/index.js",
60
+ "./lib/platform/node/classes/FormData.js": "./lib/helpers/null.js"
69
61
  },
70
62
  "repository": {
71
63
  "type": "git",
@@ -84,113 +76,99 @@
84
76
  "client"
85
77
  ],
86
78
  "author": "Matt Zabriskie",
79
+ "contributors": [
80
+ "Matt Zabriskie (https://github.com/mzabriskie)",
81
+ "Jay (https://github.com/jasonsaayman)",
82
+ "Dmitriy Mozgovoy (https://github.com/DigitalBrainJS)",
83
+ "Nick Uraltsev (https://github.com/nickuraltsev)",
84
+ "Emily Morehouse (https://github.com/emilyemorehouse)",
85
+ "Rubén Norte (https://github.com/rubennorte)",
86
+ "Justin Beckwith (https://github.com/JustinBeckwith)",
87
+ "Martti Laine (https://github.com/codeclown)",
88
+ "Xianming Zhong (https://github.com/chinesedfan)",
89
+ "Remco Haszing (https://github.com/remcohaszing)",
90
+ "Willian Agostini (https://github.com/WillianAgostini)",
91
+ "Rikki Gibson (https://github.com/RikkiGibson)",
92
+ "Ben Carp (https://github.com/carpben)"
93
+ ],
94
+ "sideEffects": false,
87
95
  "license": "MIT",
88
96
  "bugs": {
89
97
  "url": "https://github.com/axios/axios/issues"
90
98
  },
91
99
  "homepage": "https://axios-http.com",
100
+ "scripts": {
101
+ "build": "gulp clear && cross-env NODE_ENV=production rollup -c -m",
102
+ "version": "npm run build && git add package.json",
103
+ "preversion": "gulp version",
104
+ "test": "npm run test:vitest",
105
+ "test:vitest": "vitest run",
106
+ "test:vitest:unit": "vitest run --project unit",
107
+ "test:vitest:browser": "vitest run --project browser",
108
+ "test:vitest:browser:headless": "vitest run --project browser-headless",
109
+ "test:vitest:watch": "vitest",
110
+ "test:smoke:cjs:vitest": "npm --prefix tests/smoke/cjs run test:smoke:cjs:mocha",
111
+ "test:smoke:esm:vitest": "npm --prefix tests/smoke/esm run test:smoke:esm:vitest",
112
+ "test:module:cjs": "npm --prefix tests/module/cjs run test:module:cjs",
113
+ "test:module:esm": "npm --prefix tests/module/esm run test:module:esm",
114
+ "start": "node ./sandbox/server.js",
115
+ "examples": "node ./examples/server.js",
116
+ "lint": "eslint lib/**/*.js",
117
+ "fix": "eslint --fix lib/**/*.js",
118
+ "prepare": "husky"
119
+ },
120
+ "dependencies": {
121
+ "follow-redirects": "^1.15.11",
122
+ "form-data": "^4.0.5",
123
+ "proxy-from-env": "^2.1.0"
124
+ },
92
125
  "devDependencies": {
93
- "@babel/core": "^7.28.6",
94
- "@babel/preset-env": "^7.28.6",
95
- "@commitlint/cli": "^20.3.1",
96
- "@commitlint/config-conventional": "^20.3.1",
97
- "@rollup/plugin-alias": "^5.1.1",
98
- "@rollup/plugin-babel": "^6.1.0",
99
- "@rollup/plugin-commonjs": "^15.1.0",
100
- "@rollup/plugin-json": "^4.1.0",
101
- "@rollup/plugin-multi-entry": "^4.1.0",
102
- "@rollup/plugin-node-resolve": "^9.0.0",
126
+ "@babel/core": "^7.29.0",
127
+ "@babel/preset-env": "^7.29.0",
128
+ "@commitlint/cli": "^20.4.4",
129
+ "@commitlint/config-conventional": "^20.4.4",
130
+ "@eslint/js": "^10.0.1",
131
+ "@rollup/plugin-alias": "^6.0.0",
132
+ "@rollup/plugin-babel": "^7.0.0",
133
+ "@rollup/plugin-commonjs": "^29.0.2",
134
+ "@rollup/plugin-json": "^6.1.0",
135
+ "@rollup/plugin-node-resolve": "^16.0.3",
136
+ "@rollup/plugin-terser": "^1.0.0",
137
+ "@vitest/browser": "^4.1.1",
138
+ "@vitest/browser-playwright": "^4.1.1",
103
139
  "abortcontroller-polyfill": "^1.7.8",
104
140
  "auto-changelog": "^2.5.0",
105
- "body-parser": "^1.20.4",
106
- "c8": "^10.1.3",
141
+ "body-parser": "^2.2.2",
107
142
  "chalk": "^5.6.2",
108
- "coveralls": "^3.1.1",
109
- "cross-env": "^7.0.3",
143
+ "cross-env": "^10.1.0",
110
144
  "dev-null": "^0.1.1",
111
- "es6-promise": "^4.2.8",
112
- "eslint": "^8.57.1",
113
- "express": "^4.22.1",
114
- "formdata-node": "^5.0.1",
115
- "formidable": "^2.1.5",
116
- "fs-extra": "^10.1.0",
117
- "get-stream": "^3.0.0",
118
- "gulp": "^4.0.2",
145
+ "eslint": "^10.1.0",
146
+ "express": "^5.2.1",
147
+ "formdata-node": "^6.0.3",
148
+ "formidable": "^3.2.4",
149
+ "fs-extra": "^11.3.4",
150
+ "get-stream": "^9.0.1",
151
+ "globals": "^17.4.0",
152
+ "gulp": "^5.0.1",
119
153
  "handlebars": "^4.7.8",
120
- "husky": "^8.0.3",
121
- "istanbul-instrumenter-loader": "^3.0.1",
122
- "jasmine-core": "^2.99.1",
123
- "karma": "^6.4.4",
124
- "karma-chrome-launcher": "^3.2.0",
125
- "karma-firefox-launcher": "^2.1.3",
126
- "karma-jasmine": "^1.1.2",
127
- "karma-jasmine-ajax": "^0.1.13",
128
- "karma-rollup-preprocessor": "^7.0.8",
129
- "karma-safari-launcher": "^1.0.0",
130
- "karma-sauce-launcher": "^4.3.6",
131
- "karma-sinon": "^1.0.5",
132
- "karma-sourcemap-loader": "^0.4.0",
133
- "lint-staged": "^15.2.10",
154
+ "husky": "^9.1.7",
155
+ "lint-staged": "^16.4.0",
134
156
  "memoizee": "^0.4.17",
135
157
  "minimist": "^1.2.8",
136
- "mocha": "^10.8.2",
137
- "multer": "^1.4.4",
138
- "pacote": "^20.0.0",
158
+ "multer": "^2.1.1",
159
+ "pacote": "^21.5.0",
160
+ "playwright": "^1.58.2",
139
161
  "prettier": "^3.8.1",
140
- "pretty-bytes": "^6.1.1",
141
- "rollup": "^2.79.2",
142
- "rollup-plugin-auto-external": "^2.0.0",
162
+ "pretty-bytes": "^7.1.0",
163
+ "rollup": "^4.60.0",
143
164
  "rollup-plugin-bundle-size": "^1.0.3",
144
- "rollup-plugin-terser": "^7.0.2",
145
- "selfsigned": "^3.0.1",
146
- "sinon": "^4.5.0",
165
+ "selfsigned": "^5.5.0",
147
166
  "stream-throttle": "^0.1.3",
148
167
  "string-replace-async": "^3.0.2",
149
- "tar-stream": "^3.1.7",
150
- "typescript": "^4.9.5"
168
+ "tar-stream": "^3.1.8",
169
+ "typescript": "^5.9.3",
170
+ "vitest": "^4.1.1"
151
171
  },
152
- "browser": {
153
- "./dist/node/axios.cjs": "./dist/browser/axios.cjs",
154
- "./lib/adapters/http.js": "./lib/helpers/null.js",
155
- "./lib/platform/node/index.js": "./lib/platform/browser/index.js",
156
- "./lib/platform/node/classes/FormData.js": "./lib/helpers/null.js"
157
- },
158
- "react-native": {
159
- "./dist/node/axios.cjs": "./dist/browser/axios.cjs",
160
- "./lib/adapters/http.js": "./lib/helpers/null.js",
161
- "./lib/platform/node/index.js": "./lib/platform/browser/index.js",
162
- "./lib/platform/node/classes/FormData.js": "./lib/helpers/null.js"
163
- },
164
- "jsdelivr": "dist/axios.min.js",
165
- "unpkg": "dist/axios.min.js",
166
- "typings": "./index.d.ts",
167
- "dependencies": {
168
- "follow-redirects": "^1.15.11",
169
- "form-data": "^4.0.5",
170
- "proxy-from-env": "^1.1.0"
171
- },
172
- "bundlesize": [
173
- {
174
- "path": "./dist/axios.min.js",
175
- "threshold": "5kB"
176
- }
177
- ],
178
- "contributors": [
179
- "Matt Zabriskie (https://github.com/mzabriskie)",
180
- "Dmitriy Mozgovoy (https://github.com/DigitalBrainJS)",
181
- "Nick Uraltsev (https://github.com/nickuraltsev)",
182
- "Jay (https://github.com/jasonsaayman)",
183
- "Emily Morehouse (https://github.com/emilyemorehouse)",
184
- "Rubén Norte (https://github.com/rubennorte)",
185
- "Justin Beckwith (https://github.com/JustinBeckwith)",
186
- "Martti Laine (https://github.com/codeclown)",
187
- "Xianming Zhong (https://github.com/chinesedfan)",
188
- "Remco Haszing (https://github.com/remcohaszing)",
189
- "Willian Agostini (https://github.com/WillianAgostini)",
190
- "Rikki Gibson (https://github.com/RikkiGibson)",
191
- "Ben Carp (https://github.com/carpben)"
192
- ],
193
- "sideEffects": false,
194
172
  "commitlint": {
195
173
  "rules": {
196
174
  "header-max-length": [
@@ -205,22 +183,5 @@
205
183
  },
206
184
  "lint-staged": {
207
185
  "*.{js,cjs,mjs,ts,json,md,yml,yaml}": "prettier --write"
208
- },
209
- "c8": {
210
- "all": true,
211
- "include": [
212
- "lib/**/*.js",
213
- "lib/**/*.ts"
214
- ],
215
- "exclude": [
216
- "test",
217
- "sandbox"
218
- ],
219
- "reporter": [
220
- "text",
221
- "lcov",
222
- "html"
223
- ],
224
- "report-dir": "./coverage"
225
186
  }
226
187
  }
@@ -1,15 +1,25 @@
1
1
  # proxy-from-env
2
2
 
3
- [![Build Status](https://travis-ci.org/Rob--W/proxy-from-env.svg?branch=master)](https://travis-ci.org/Rob--W/proxy-from-env)
3
+ ![Build Status](https://github.com/Rob--W/proxy-from-env/actions/workflows/run-tests.yaml/badge.svg?branch=master)
4
4
  [![Coverage Status](https://coveralls.io/repos/github/Rob--W/proxy-from-env/badge.svg?branch=master)](https://coveralls.io/github/Rob--W/proxy-from-env?branch=master)
5
5
 
6
6
  `proxy-from-env` is a Node.js package that exports a function (`getProxyForUrl`)
7
- that takes an input URL (a string or
8
- [`url.parse`](https://nodejs.org/docs/latest/api/url.html#url_url_parsing)'s
7
+ that takes an input URL (a string, an instance of
8
+ [`URL`](https://nodejs.org/docs/latest/api/url.html#the-whatwg-url-api),
9
+ or [`url.parse`](https://nodejs.org/docs/latest/api/url.html#url_url_parsing)'s
9
10
  return value) and returns the desired proxy URL (also a string) based on
10
11
  standard proxy environment variables. If no proxy is set, an empty string is
11
12
  returned.
12
13
 
14
+ If your application makes important (security) decisions based on the URL, be
15
+ consistent in the mechanism to parse and validate URLs, as differences in URL
16
+ parsing behavior can affect the outcome of proxy resolution.
17
+ Strings are parsed with the standard `URL` API, as of `proxy-from-env@2.0.0`.
18
+ Older versions relied on the (now deprecated) `url.parse` method instead.
19
+
20
+ Invalid values in environment variables are not handled by the library
21
+ ([#41](https://github.com/Rob--W/proxy-from-env/issues/41)).
22
+
13
23
  It is your responsibility to actually proxy the request using the given URL.
14
24
 
15
25
  Installation:
@@ -22,10 +32,14 @@ npm install proxy-from-env
22
32
  This example shows how the data for a URL can be fetched via the
23
33
  [`http` module](https://nodejs.org/api/http.html), in a proxy-aware way.
24
34
 
35
+ warning: this simple example works for http requests only. To support https,
36
+ you must establish a proxy tunnel via the
37
+ [http `connect` method](https://developer.mozilla.org/en-us/docs/web/http/reference/methods/connect).
38
+
25
39
  ```javascript
26
- var http = require('http');
27
- var parseUrl = require('url').parse;
28
- var getProxyForUrl = require('proxy-from-env').getProxyForUrl;
40
+ import http from 'node:test';
41
+ import { getProxyForUrl } from 'proxy-from-env';
42
+ // ^ or: var getProxyForUrl = require('proxy-from-env').getProxyForUrl;
29
43
 
30
44
  var some_url = 'http://example.com/something';
31
45
 
@@ -40,8 +54,8 @@ var some_url = 'http://example.com/something';
40
54
  var proxy_url = getProxyForUrl(some_url); // <-- Our magic.
41
55
  if (proxy_url) {
42
56
  // Should be proxied through proxy_url.
43
- var parsed_some_url = parseUrl(some_url);
44
- var parsed_proxy_url = parseUrl(proxy_url);
57
+ var parsed_some_url = new URL(some_url);
58
+ var parsed_proxy_url = new URL(proxy_url);
45
59
  // A HTTP proxy is quite simple. It is similar to a normal request, except the
46
60
  // path is an absolute URL, and the proxied URL's host is put in the header
47
61
  // instead of the server's actual host.
@@ -63,12 +77,30 @@ http.get(httpOptions, function(res) {
63
77
  res.on('data', function(chunk) { responses.push(chunk); });
64
78
  res.on('end', function() { console.log(responses.join('')); });
65
79
  });
66
-
67
80
  ```
68
81
 
82
+ ### Full proxy support
83
+ The simple example above works for http requests only. To support https, you
84
+ must establish a proxy tunnel via the
85
+ [http `connect` method](https://developer.mozilla.org/en-us/docs/web/http/reference/methods/connect).
86
+
87
+ An example of that is shown in the
88
+ [`https-proxy-agent` npm package](https://www.npmjs.com/package/https-proxy-agent).
89
+ The [`proxy-agent` npm package](https://www.npmjs.com/package/proxy-agent)
90
+ combines `https-proxy-agent` and `proxy-from-env` to offer a `http.Agent` that
91
+ supports proxies from environment variables.
92
+
93
+ ### Built-in proxy support
94
+ Node.js is working on built-in support for proxy environment variables,
95
+ currently behind `NODE_USE_ENV_PROXY=1` or `--use-env-proxy`. For details, see:
96
+
97
+ - https://github.com/nodejs/node/issues/57872
98
+ - https://nodejs.org/api/http.html#built-in-proxy-support
99
+
100
+
69
101
  ## Environment variables
70
- The environment variables can be specified in lowercase or uppercase, with the
71
- lowercase name having precedence over the uppercase variant. A variable that is
102
+ The environment variables can be specified in all lowercase or all uppercase,
103
+ with lowercase taking precedence over the uppercase variant. A variable that is
72
104
  not set has the same meaning as a variable that is set but has no value.
73
105
 
74
106
  ### NO\_PROXY
@@ -0,0 +1,105 @@
1
+ 'use strict';
2
+
3
+ var DEFAULT_PORTS = {
4
+ ftp: 21,
5
+ gopher: 70,
6
+ http: 80,
7
+ https: 443,
8
+ ws: 80,
9
+ wss: 443,
10
+ };
11
+
12
+ function parseUrl(urlString) {
13
+ try {
14
+ return new URL(urlString);
15
+ } catch {
16
+ return null;
17
+ }
18
+ }
19
+
20
+ /**
21
+ * @param {string|object|URL} url - The URL as a string or URL instance, or a
22
+ * compatible object (such as the result from legacy url.parse).
23
+ * @return {string} The URL of the proxy that should handle the request to the
24
+ * given URL. If no proxy is set, this will be an empty string.
25
+ */
26
+ function getProxyForUrl(url) {
27
+ var parsedUrl = (typeof url === 'string' ? parseUrl(url) : url) || {};
28
+ var proto = parsedUrl.protocol;
29
+ var hostname = parsedUrl.host;
30
+ var port = parsedUrl.port;
31
+ if (typeof hostname !== 'string' || !hostname || typeof proto !== 'string') {
32
+ return ''; // Don't proxy URLs without a valid scheme or host.
33
+ }
34
+
35
+ proto = proto.split(':', 1)[0];
36
+ // Stripping ports in this way instead of using parsedUrl.hostname to make
37
+ // sure that the brackets around IPv6 addresses are kept.
38
+ hostname = hostname.replace(/:\d*$/, '');
39
+ port = parseInt(port) || DEFAULT_PORTS[proto] || 0;
40
+ if (!shouldProxy(hostname, port)) {
41
+ return ''; // Don't proxy URLs that match NO_PROXY.
42
+ }
43
+
44
+ var proxy = getEnv(proto + '_proxy') || getEnv('all_proxy');
45
+ if (proxy && proxy.indexOf('://') === -1) {
46
+ // Missing scheme in proxy, default to the requested URL's scheme.
47
+ proxy = proto + '://' + proxy;
48
+ }
49
+ return proxy;
50
+ }
51
+
52
+ /**
53
+ * Determines whether a given URL should be proxied.
54
+ *
55
+ * @param {string} hostname - The host name of the URL.
56
+ * @param {number} port - The effective port of the URL.
57
+ * @returns {boolean} Whether the given URL should be proxied.
58
+ * @private
59
+ */
60
+ function shouldProxy(hostname, port) {
61
+ var NO_PROXY = getEnv('no_proxy').toLowerCase();
62
+ if (!NO_PROXY) {
63
+ return true; // Always proxy if NO_PROXY is not set.
64
+ }
65
+ if (NO_PROXY === '*') {
66
+ return false; // Never proxy if wildcard is set.
67
+ }
68
+
69
+ return NO_PROXY.split(/[,\s]/).every(function(proxy) {
70
+ if (!proxy) {
71
+ return true; // Skip zero-length hosts.
72
+ }
73
+ var parsedProxy = proxy.match(/^(.+):(\d+)$/);
74
+ var parsedProxyHostname = parsedProxy ? parsedProxy[1] : proxy;
75
+ var parsedProxyPort = parsedProxy ? parseInt(parsedProxy[2]) : 0;
76
+ if (parsedProxyPort && parsedProxyPort !== port) {
77
+ return true; // Skip if ports don't match.
78
+ }
79
+
80
+ if (!/^[.*]/.test(parsedProxyHostname)) {
81
+ // No wildcards, so stop proxying if there is an exact match.
82
+ return hostname !== parsedProxyHostname;
83
+ }
84
+
85
+ if (parsedProxyHostname.charAt(0) === '*') {
86
+ // Remove leading wildcard.
87
+ parsedProxyHostname = parsedProxyHostname.slice(1);
88
+ }
89
+ // Stop proxying if the hostname ends with the no_proxy host.
90
+ return !hostname.endsWith(parsedProxyHostname);
91
+ });
92
+ }
93
+
94
+ /**
95
+ * Get the value for an environment variable.
96
+ *
97
+ * @param {string} key - The name of the environment variable.
98
+ * @return {string} The value of the environment variable.
99
+ * @private
100
+ */
101
+ function getEnv(key) {
102
+ return process.env[key.toLowerCase()] || process.env[key.toUpperCase()] || '';
103
+ }
104
+
105
+ exports.getProxyForUrl = getProxyForUrl;
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- var parseUrl = require('url').parse;
4
-
5
3
  var DEFAULT_PORTS = {
6
4
  ftp: 21,
7
5
  gopher: 70,
@@ -11,18 +9,22 @@ var DEFAULT_PORTS = {
11
9
  wss: 443,
12
10
  };
13
11
 
14
- var stringEndsWith = String.prototype.endsWith || function(s) {
15
- return s.length <= this.length &&
16
- this.indexOf(s, this.length - s.length) !== -1;
17
- };
12
+ function parseUrl(urlString) {
13
+ try {
14
+ return new URL(urlString);
15
+ } catch {
16
+ return null;
17
+ }
18
+ }
18
19
 
19
20
  /**
20
- * @param {string|object} url - The URL, or the result from url.parse.
21
+ * @param {string|object|URL} url - The URL as a string or URL instance, or a
22
+ * compatible object (such as the result from legacy url.parse).
21
23
  * @return {string} The URL of the proxy that should handle the request to the
22
24
  * given URL. If no proxy is set, this will be an empty string.
23
25
  */
24
- function getProxyForUrl(url) {
25
- var parsedUrl = typeof url === 'string' ? parseUrl(url) : url || {};
26
+ export function getProxyForUrl(url) {
27
+ var parsedUrl = (typeof url === 'string' ? parseUrl(url) : url) || {};
26
28
  var proto = parsedUrl.protocol;
27
29
  var hostname = parsedUrl.host;
28
30
  var port = parsedUrl.port;
@@ -39,11 +41,7 @@ function getProxyForUrl(url) {
39
41
  return ''; // Don't proxy URLs that match NO_PROXY.
40
42
  }
41
43
 
42
- var proxy =
43
- getEnv('npm_config_' + proto + '_proxy') ||
44
- getEnv(proto + '_proxy') ||
45
- getEnv('npm_config_proxy') ||
46
- getEnv('all_proxy');
44
+ var proxy = getEnv(proto + '_proxy') || getEnv('all_proxy');
47
45
  if (proxy && proxy.indexOf('://') === -1) {
48
46
  // Missing scheme in proxy, default to the requested URL's scheme.
49
47
  proxy = proto + '://' + proxy;
@@ -60,8 +58,7 @@ function getProxyForUrl(url) {
60
58
  * @private
61
59
  */
62
60
  function shouldProxy(hostname, port) {
63
- var NO_PROXY =
64
- (getEnv('npm_config_no_proxy') || getEnv('no_proxy')).toLowerCase();
61
+ var NO_PROXY = getEnv('no_proxy').toLowerCase();
65
62
  if (!NO_PROXY) {
66
63
  return true; // Always proxy if NO_PROXY is not set.
67
64
  }
@@ -90,7 +87,7 @@ function shouldProxy(hostname, port) {
90
87
  parsedProxyHostname = parsedProxyHostname.slice(1);
91
88
  }
92
89
  // Stop proxying if the hostname ends with the no_proxy host.
93
- return !stringEndsWith.call(hostname, parsedProxyHostname);
90
+ return !hostname.endsWith(parsedProxyHostname);
94
91
  });
95
92
  }
96
93
 
@@ -104,5 +101,3 @@ function shouldProxy(hostname, port) {
104
101
  function getEnv(key) {
105
102
  return process.env[key.toLowerCase()] || process.env[key.toUpperCase()] || '';
106
103
  }
107
-
108
- exports.getProxyForUrl = getProxyForUrl;