@jini-ai/provider-plugins 0.6.15-rc.2 → 0.6.22

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 (242) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/NOTICE +28 -0
  3. package/README.md +23 -8
  4. package/catalog.json +22 -12
  5. package/package.json +64 -15
  6. package/plugins/ai-trace-langfuse/0.6.22/CHANGELOG.md +7 -0
  7. package/plugins/ai-trace-langfuse/0.6.22/NOTICE +6 -0
  8. package/plugins/ai-trace-langfuse/0.6.22/README.md +13 -0
  9. package/plugins/ai-trace-langfuse/{0.6.15-rc.2 → 0.6.22}/jini.plugin.json +7 -2
  10. package/plugins/ai-trace-langfuse/0.6.22/licenses/_jini-ai_provider-plugins/NOTICE +28 -0
  11. package/plugins/{analytics-posthog/0.6.15-rc.2 → ai-trace-langfuse/0.6.22}/licenses/_jini-ai_provider-plugins/package-license.json +1 -1
  12. package/plugins/analytics-posthog/0.6.22/CHANGELOG.md +6 -0
  13. package/plugins/analytics-posthog/0.6.22/NOTICE +11 -0
  14. package/plugins/analytics-posthog/0.6.22/README.md +25 -0
  15. package/plugins/analytics-posthog/{0.6.15-rc.2 → 0.6.22}/jini.plugin.json +14 -8
  16. package/plugins/analytics-posthog/0.6.22/licenses/_jini-ai_cookie-consent/LICENSE-SOURCE +1 -0
  17. package/plugins/analytics-posthog/0.6.22/licenses/_jini-ai_cookie-consent/NOTICE +28 -0
  18. package/plugins/analytics-posthog/{0.6.15-rc.2 → 0.6.22}/licenses/_jini-ai_cookie-consent/package-license.json +1 -1
  19. package/plugins/{observability-opentelemetry/0.6.15-rc.2 → analytics-posthog/0.6.22}/licenses/_jini-ai_core/package-license.json +1 -1
  20. package/plugins/{observability-sentry/0.6.15-rc.2 → analytics-posthog/0.6.22}/licenses/_jini-ai_diagnostics/package-license.json +1 -1
  21. package/plugins/analytics-posthog/0.6.22/licenses/_jini-ai_provider-plugins/NOTICE +28 -0
  22. package/plugins/{fixture-provider/0.6.15-rc.2 → analytics-posthog/0.6.22}/licenses/_jini-ai_provider-plugins/package-license.json +1 -1
  23. package/plugins/analytics-posthog/0.6.22/server/consent-adapter.mjs +1 -0
  24. package/plugins/analytics-posthog/{0.6.15-rc.2 → 0.6.22}/server/index.mjs +11 -7
  25. package/plugins/charts-echarts/0.6.22/client/provider.js +41 -0
  26. package/plugins/charts-echarts/0.6.22/client/styles.css +1 -0
  27. package/plugins/charts-echarts/0.6.22/jini.plugin.json +55 -0
  28. package/plugins/charts-echarts/0.6.22/licenses/_jini-ai_provider-plugins/NOTICE +28 -0
  29. package/plugins/{ai-trace-langfuse/0.6.15-rc.2 → charts-echarts/0.6.22}/licenses/_jini-ai_provider-plugins/package-license.json +1 -1
  30. package/plugins/charts-echarts/0.6.22/licenses/_jini-ai_ui/LICENSE-SOURCE +1 -0
  31. package/plugins/charts-echarts/0.6.22/licenses/_jini-ai_ui/NOTICE +28 -0
  32. package/plugins/charts-echarts/0.6.22/licenses/_jini-ai_ui/package-license.json +5 -0
  33. package/plugins/charts-echarts/0.6.22/licenses/echarts/LICENSE +222 -0
  34. package/plugins/charts-echarts/0.6.22/licenses/echarts/NOTICE +5 -0
  35. package/plugins/charts-echarts/0.6.22/licenses/echarts/package-license.json +5 -0
  36. package/plugins/charts-echarts/0.6.22/licenses/tslib/LICENSE.txt +12 -0
  37. package/plugins/charts-echarts/0.6.22/licenses/tslib/package-license.json +5 -0
  38. package/plugins/charts-echarts/0.6.22/licenses/zod/LICENSE +21 -0
  39. package/plugins/charts-echarts/0.6.22/licenses/zod/package-license.json +5 -0
  40. package/plugins/charts-echarts/0.6.22/licenses/zrender/LICENSE +29 -0
  41. package/plugins/charts-echarts/0.6.22/licenses/zrender/package-license.json +5 -0
  42. package/plugins/charts-echarts/0.6.22/server/index.mjs +8 -0
  43. package/plugins/charts-recharts/0.6.22/client/provider.js +134 -0
  44. package/plugins/charts-recharts/0.6.22/client/styles.css +1 -0
  45. package/plugins/charts-recharts/0.6.22/jini.plugin.json +100 -0
  46. package/plugins/charts-recharts/0.6.22/licenses/_jini-ai_provider-plugins/NOTICE +28 -0
  47. package/plugins/{observability-opentelemetry/0.6.15-rc.2 → charts-recharts/0.6.22}/licenses/_jini-ai_provider-plugins/package-license.json +1 -1
  48. package/plugins/charts-recharts/0.6.22/licenses/_jini-ai_ui/LICENSE-SOURCE +1 -0
  49. package/plugins/charts-recharts/0.6.22/licenses/_jini-ai_ui/NOTICE +28 -0
  50. package/plugins/charts-recharts/0.6.22/licenses/_jini-ai_ui/package-license.json +5 -0
  51. package/plugins/charts-recharts/0.6.22/licenses/_reduxjs_toolkit/LICENSE +21 -0
  52. package/plugins/charts-recharts/0.6.22/licenses/_reduxjs_toolkit/package-license.json +5 -0
  53. package/plugins/charts-recharts/0.6.22/licenses/clsx/license +9 -0
  54. package/plugins/charts-recharts/0.6.22/licenses/clsx/package-license.json +5 -0
  55. package/plugins/charts-recharts/0.6.22/licenses/d3-array/LICENSE +13 -0
  56. package/plugins/charts-recharts/0.6.22/licenses/d3-array/package-license.json +5 -0
  57. package/plugins/charts-recharts/0.6.22/licenses/d3-color/LICENSE +13 -0
  58. package/plugins/charts-recharts/0.6.22/licenses/d3-color/package-license.json +5 -0
  59. package/plugins/charts-recharts/0.6.22/licenses/d3-format/LICENSE +13 -0
  60. package/plugins/charts-recharts/0.6.22/licenses/d3-format/package-license.json +5 -0
  61. package/plugins/charts-recharts/0.6.22/licenses/d3-interpolate/LICENSE +13 -0
  62. package/plugins/charts-recharts/0.6.22/licenses/d3-interpolate/package-license.json +5 -0
  63. package/plugins/charts-recharts/0.6.22/licenses/d3-path/LICENSE +13 -0
  64. package/plugins/charts-recharts/0.6.22/licenses/d3-path/package-license.json +5 -0
  65. package/plugins/charts-recharts/0.6.22/licenses/d3-scale/LICENSE +13 -0
  66. package/plugins/charts-recharts/0.6.22/licenses/d3-scale/package-license.json +5 -0
  67. package/plugins/charts-recharts/0.6.22/licenses/d3-shape/LICENSE +13 -0
  68. package/plugins/charts-recharts/0.6.22/licenses/d3-shape/package-license.json +5 -0
  69. package/plugins/charts-recharts/0.6.22/licenses/d3-time/LICENSE +13 -0
  70. package/plugins/charts-recharts/0.6.22/licenses/d3-time/package-license.json +5 -0
  71. package/plugins/charts-recharts/0.6.22/licenses/d3-time-format/LICENSE +13 -0
  72. package/plugins/charts-recharts/0.6.22/licenses/d3-time-format/package-license.json +5 -0
  73. package/plugins/charts-recharts/0.6.22/licenses/decimal.js-light/LICENCE.md +23 -0
  74. package/plugins/charts-recharts/0.6.22/licenses/decimal.js-light/package-license.json +5 -0
  75. package/plugins/charts-recharts/0.6.22/licenses/es-toolkit/LICENSE +21 -0
  76. package/plugins/charts-recharts/0.6.22/licenses/es-toolkit/package-license.json +5 -0
  77. package/plugins/charts-recharts/0.6.22/licenses/eventemitter3/LICENSE +21 -0
  78. package/plugins/charts-recharts/0.6.22/licenses/eventemitter3/package-license.json +5 -0
  79. package/plugins/charts-recharts/0.6.22/licenses/immer/LICENSE +21 -0
  80. package/plugins/charts-recharts/0.6.22/licenses/immer/package-license.json +5 -0
  81. package/plugins/charts-recharts/0.6.22/licenses/internmap/LICENSE +13 -0
  82. package/plugins/charts-recharts/0.6.22/licenses/internmap/package-license.json +5 -0
  83. package/plugins/charts-recharts/0.6.22/licenses/react/LICENSE +21 -0
  84. package/plugins/charts-recharts/0.6.22/licenses/react/package-license.json +5 -0
  85. package/plugins/charts-recharts/0.6.22/licenses/react-dom/LICENSE +21 -0
  86. package/plugins/charts-recharts/0.6.22/licenses/react-dom/package-license.json +5 -0
  87. package/plugins/charts-recharts/0.6.22/licenses/react-is/LICENSE +21 -0
  88. package/plugins/charts-recharts/0.6.22/licenses/react-is/package-license.json +5 -0
  89. package/plugins/charts-recharts/0.6.22/licenses/react-redux/LICENSE.md +21 -0
  90. package/plugins/charts-recharts/0.6.22/licenses/react-redux/package-license.json +5 -0
  91. package/plugins/charts-recharts/0.6.22/licenses/recharts/LICENSE +22 -0
  92. package/plugins/charts-recharts/0.6.22/licenses/recharts/package-license.json +5 -0
  93. package/plugins/charts-recharts/0.6.22/licenses/redux/LICENSE.md +21 -0
  94. package/plugins/charts-recharts/0.6.22/licenses/redux/package-license.json +5 -0
  95. package/plugins/charts-recharts/0.6.22/licenses/redux-thunk/LICENSE.md +21 -0
  96. package/plugins/charts-recharts/0.6.22/licenses/redux-thunk/package-license.json +5 -0
  97. package/plugins/charts-recharts/0.6.22/licenses/reselect/LICENSE +21 -0
  98. package/plugins/charts-recharts/0.6.22/licenses/reselect/package-license.json +5 -0
  99. package/plugins/charts-recharts/0.6.22/licenses/scheduler/LICENSE +21 -0
  100. package/plugins/charts-recharts/0.6.22/licenses/scheduler/package-license.json +5 -0
  101. package/plugins/charts-recharts/0.6.22/licenses/tiny-invariant/LICENSE +21 -0
  102. package/plugins/charts-recharts/0.6.22/licenses/tiny-invariant/package-license.json +5 -0
  103. package/plugins/charts-recharts/0.6.22/licenses/use-sync-external-store/LICENSE +21 -0
  104. package/plugins/charts-recharts/0.6.22/licenses/use-sync-external-store/package-license.json +5 -0
  105. package/plugins/charts-recharts/0.6.22/licenses/victory-vendor/LICENSE.txt +150 -0
  106. package/plugins/charts-recharts/0.6.22/licenses/victory-vendor/package-license.json +5 -0
  107. package/plugins/charts-recharts/0.6.22/licenses/zod/LICENSE +21 -0
  108. package/plugins/charts-recharts/0.6.22/licenses/zod/package-license.json +5 -0
  109. package/plugins/charts-recharts/0.6.22/server/index.mjs +8 -0
  110. package/plugins/fixture-provider/{0.6.15-rc.2 → 0.6.22}/jini.plugin.json +3 -2
  111. package/plugins/fixture-provider/0.6.22/licenses/_jini-ai_provider-plugins/NOTICE +28 -0
  112. package/plugins/fixture-provider/0.6.22/licenses/_jini-ai_provider-plugins/package-license.json +5 -0
  113. package/plugins/observability-opentelemetry/0.6.22/CHANGELOG.md +19 -0
  114. package/plugins/observability-opentelemetry/0.6.22/NOTICE +11 -0
  115. package/plugins/observability-opentelemetry/0.6.22/README.md +32 -0
  116. package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/jini.plugin.json +12 -9
  117. package/plugins/{analytics-posthog/0.6.15-rc.2 → observability-opentelemetry/0.6.22}/licenses/_jini-ai_core/package-license.json +1 -1
  118. package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_jini-ai_diagnostics/package-license.json +1 -1
  119. package/plugins/observability-opentelemetry/0.6.22/licenses/_jini-ai_plugins/LICENSE +201 -0
  120. package/plugins/observability-opentelemetry/0.6.22/licenses/_jini-ai_plugins/LICENSE-SOURCE +1 -0
  121. package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_jini-ai_plugins/package-license.json +1 -1
  122. package/plugins/observability-opentelemetry/0.6.22/licenses/_jini-ai_provider-plugins/LICENSE +201 -0
  123. package/plugins/observability-opentelemetry/0.6.22/licenses/_jini-ai_provider-plugins/NOTICE +28 -0
  124. package/plugins/observability-opentelemetry/0.6.22/licenses/_jini-ai_provider-plugins/package-license.json +5 -0
  125. package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/server/index.mjs +198 -61
  126. package/plugins/observability-sentry/0.6.22/CHANGELOG.md +19 -0
  127. package/plugins/observability-sentry/0.6.22/LICENSE +201 -0
  128. package/plugins/observability-sentry/0.6.22/NOTICE +11 -0
  129. package/plugins/observability-sentry/0.6.22/README.md +32 -0
  130. package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/jini.plugin.json +10 -5
  131. package/plugins/observability-sentry/0.6.22/licenses/_jini-ai_core/LICENSE +201 -0
  132. package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_jini-ai_core/package-license.json +1 -1
  133. package/plugins/observability-sentry/0.6.22/licenses/_jini-ai_diagnostics/LICENSE +201 -0
  134. package/plugins/{analytics-posthog/0.6.15-rc.2 → observability-sentry/0.6.22}/licenses/_jini-ai_diagnostics/package-license.json +1 -1
  135. package/plugins/observability-sentry/0.6.22/licenses/_jini-ai_provider-plugins/LICENSE +201 -0
  136. package/plugins/observability-sentry/0.6.22/licenses/_jini-ai_provider-plugins/NOTICE +28 -0
  137. package/plugins/observability-sentry/0.6.22/licenses/_jini-ai_provider-plugins/package-license.json +5 -0
  138. package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/server/index.mjs +158 -55
  139. package/plugins/payments-stripe/0.6.22/CHANGELOG.md +7 -0
  140. package/plugins/payments-stripe/0.6.22/LICENSE +201 -0
  141. package/plugins/payments-stripe/0.6.22/NOTICE +28 -0
  142. package/plugins/payments-stripe/0.6.22/README.md +36 -0
  143. package/plugins/payments-stripe/0.6.22/jini.plugin.json +72 -0
  144. package/plugins/payments-stripe/0.6.22/licenses/_jini-ai_commerce/LICENSE +201 -0
  145. package/plugins/payments-stripe/0.6.22/licenses/_jini-ai_commerce/NOTICE +28 -0
  146. package/plugins/payments-stripe/0.6.22/licenses/_jini-ai_commerce/package-license.json +5 -0
  147. package/plugins/payments-stripe/0.6.22/licenses/_jini-ai_core/LICENSE +201 -0
  148. package/plugins/payments-stripe/0.6.22/licenses/_jini-ai_core/package-license.json +5 -0
  149. package/plugins/payments-stripe/0.6.22/licenses/_jini-ai_provider-plugins/LICENSE +201 -0
  150. package/plugins/payments-stripe/0.6.22/licenses/_jini-ai_provider-plugins/NOTICE +28 -0
  151. package/plugins/payments-stripe/0.6.22/licenses/_jini-ai_provider-plugins/package-license.json +5 -0
  152. package/plugins/payments-stripe/0.6.22/server/index.mjs +311 -0
  153. package/plugins/analytics-posthog/0.6.15-rc.2/licenses/_jini-ai_cookie-consent/LICENSE-SOURCE +0 -1
  154. package/plugins/analytics-posthog/0.6.15-rc.2/server/consent-adapter.mjs +0 -1
  155. package/plugins/observability-opentelemetry/0.6.15-rc.2/licenses/_jini-ai_analytics/package-license.json +0 -5
  156. package/plugins/observability-opentelemetry/0.6.15-rc.2/licenses/_jini-ai_plugins/LICENSE-SOURCE +0 -1
  157. package/plugins/observability-sentry/0.6.15-rc.2/licenses/_jini-ai_provider-plugins/package-license.json +0 -5
  158. package/plugins/payments-stripe/0.6.15-rc.2/jini.plugin.json +0 -35
  159. package/plugins/payments-stripe/0.6.15-rc.2/licenses/_jini-ai_provider-plugins/package-license.json +0 -5
  160. package/plugins/payments-stripe/0.6.15-rc.2/server/index.mjs +0 -153
  161. /package/plugins/ai-trace-langfuse/{0.6.15-rc.2/licenses/_jini-ai_provider-plugins → 0.6.22}/LICENSE +0 -0
  162. /package/plugins/{analytics-posthog/0.6.15-rc.2/licenses/_jini-ai_cookie-consent → ai-trace-langfuse/0.6.22/licenses/_jini-ai_provider-plugins}/LICENSE +0 -0
  163. /package/plugins/ai-trace-langfuse/{0.6.15-rc.2 → 0.6.22}/licenses/langfuse/LICENSE +0 -0
  164. /package/plugins/ai-trace-langfuse/{0.6.15-rc.2 → 0.6.22}/licenses/langfuse/LICENSE-SOURCE +0 -0
  165. /package/plugins/ai-trace-langfuse/{0.6.15-rc.2 → 0.6.22}/licenses/langfuse/SOURCE +0 -0
  166. /package/plugins/ai-trace-langfuse/{0.6.15-rc.2 → 0.6.22}/licenses/langfuse/package-license.json +0 -0
  167. /package/plugins/ai-trace-langfuse/{0.6.15-rc.2 → 0.6.22}/licenses/langfuse-core/LICENSE +0 -0
  168. /package/plugins/ai-trace-langfuse/{0.6.15-rc.2 → 0.6.22}/licenses/langfuse-core/LICENSE-SOURCE +0 -0
  169. /package/plugins/ai-trace-langfuse/{0.6.15-rc.2 → 0.6.22}/licenses/langfuse-core/SOURCE +0 -0
  170. /package/plugins/ai-trace-langfuse/{0.6.15-rc.2 → 0.6.22}/licenses/langfuse-core/package-license.json +0 -0
  171. /package/plugins/ai-trace-langfuse/{0.6.15-rc.2 → 0.6.22}/licenses/mustache/LICENSE +0 -0
  172. /package/plugins/ai-trace-langfuse/{0.6.15-rc.2 → 0.6.22}/licenses/mustache/package-license.json +0 -0
  173. /package/plugins/ai-trace-langfuse/{0.6.15-rc.2 → 0.6.22}/server/index.mjs +0 -0
  174. /package/plugins/analytics-posthog/{0.6.15-rc.2/licenses/_jini-ai_core → 0.6.22}/LICENSE +0 -0
  175. /package/plugins/analytics-posthog/{0.6.15-rc.2/licenses/_jini-ai_diagnostics → 0.6.22/licenses/_jini-ai_cookie-consent}/LICENSE +0 -0
  176. /package/plugins/analytics-posthog/{0.6.15-rc.2/licenses/_jini-ai_provider-plugins → 0.6.22/licenses/_jini-ai_core}/LICENSE +0 -0
  177. /package/plugins/{fixture-provider/0.6.15-rc.2/licenses/_jini-ai_provider-plugins → analytics-posthog/0.6.22/licenses/_jini-ai_diagnostics}/LICENSE +0 -0
  178. /package/plugins/{observability-opentelemetry/0.6.15-rc.2/licenses/_jini-ai_analytics → analytics-posthog/0.6.22/licenses/_jini-ai_provider-plugins}/LICENSE +0 -0
  179. /package/plugins/analytics-posthog/{0.6.15-rc.2 → 0.6.22}/licenses/_posthog_core/LICENSE +0 -0
  180. /package/plugins/analytics-posthog/{0.6.15-rc.2 → 0.6.22}/licenses/_posthog_core/package-license.json +0 -0
  181. /package/plugins/analytics-posthog/{0.6.15-rc.2 → 0.6.22}/licenses/js-tokens/LICENSE +0 -0
  182. /package/plugins/analytics-posthog/{0.6.15-rc.2 → 0.6.22}/licenses/js-tokens/package-license.json +0 -0
  183. /package/plugins/analytics-posthog/{0.6.15-rc.2 → 0.6.22}/licenses/posthog-js/LICENSE +0 -0
  184. /package/plugins/analytics-posthog/{0.6.15-rc.2 → 0.6.22}/licenses/posthog-js/package-license.json +0 -0
  185. /package/plugins/analytics-posthog/{0.6.15-rc.2 → 0.6.22}/licenses/posthog-node/LICENSE +0 -0
  186. /package/plugins/analytics-posthog/{0.6.15-rc.2 → 0.6.22}/licenses/posthog-node/package-license.json +0 -0
  187. /package/plugins/analytics-posthog/{0.6.15-rc.2 → 0.6.22}/server/posthog-browser.js +0 -0
  188. /package/plugins/{observability-opentelemetry/0.6.15-rc.2/licenses/_jini-ai_core → charts-echarts/0.6.22/licenses/_jini-ai_provider-plugins}/LICENSE +0 -0
  189. /package/plugins/{observability-opentelemetry/0.6.15-rc.2/licenses/_jini-ai_diagnostics → charts-echarts/0.6.22/licenses/_jini-ai_ui}/LICENSE +0 -0
  190. /package/plugins/{observability-opentelemetry/0.6.15-rc.2/licenses/_jini-ai_plugins → charts-recharts/0.6.22/licenses/_jini-ai_provider-plugins}/LICENSE +0 -0
  191. /package/plugins/{observability-opentelemetry/0.6.15-rc.2/licenses/_jini-ai_provider-plugins → charts-recharts/0.6.22/licenses/_jini-ai_ui}/LICENSE +0 -0
  192. /package/plugins/{observability-sentry/0.6.15-rc.2/licenses/_jini-ai_core → fixture-provider/0.6.22/licenses/_jini-ai_provider-plugins}/LICENSE +0 -0
  193. /package/plugins/fixture-provider/{0.6.15-rc.2 → 0.6.22}/server/index.mjs +0 -0
  194. /package/plugins/{observability-sentry/0.6.15-rc.2/licenses/_jini-ai_diagnostics → observability-opentelemetry/0.6.22}/LICENSE +0 -0
  195. /package/plugins/{observability-sentry/0.6.15-rc.2/licenses/_jini-ai_provider-plugins → observability-opentelemetry/0.6.22/licenses/_jini-ai_core}/LICENSE +0 -0
  196. /package/plugins/{payments-stripe/0.6.15-rc.2/licenses/_jini-ai_provider-plugins → observability-opentelemetry/0.6.22/licenses/_jini-ai_diagnostics}/LICENSE +0 -0
  197. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_api/LICENSE +0 -0
  198. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_api/package-license.json +0 -0
  199. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_api-logs/LICENSE +0 -0
  200. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_api-logs/package-license.json +0 -0
  201. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_context-async-hooks/LICENSE +0 -0
  202. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_context-async-hooks/package-license.json +0 -0
  203. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_core/LICENSE +0 -0
  204. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_core/package-license.json +0 -0
  205. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_otlp-exporter-base/LICENSE +0 -0
  206. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_otlp-exporter-base/package-license.json +0 -0
  207. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_otlp-transformer/LICENSE +0 -0
  208. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_otlp-transformer/package-license.json +0 -0
  209. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_resources/LICENSE +0 -0
  210. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_resources/package-license.json +0 -0
  211. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_sdk-metrics/LICENSE +0 -0
  212. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_sdk-metrics/package-license.json +0 -0
  213. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_sdk-trace/LICENSE +0 -0
  214. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_sdk-trace/package-license.json +0 -0
  215. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_sdk-trace-base/LICENSE +0 -0
  216. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_sdk-trace-base/package-license.json +0 -0
  217. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_sdk-trace-node/LICENSE +0 -0
  218. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_sdk-trace-node/package-license.json +0 -0
  219. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_semantic-conventions/LICENSE +0 -0
  220. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_semantic-conventions/package-license.json +0 -0
  221. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/js-tokens/LICENSE +0 -0
  222. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/js-tokens/package-license.json +0 -0
  223. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/semver/LICENSE +0 -0
  224. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/semver/package-license.json +0 -0
  225. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_api/LICENSE +0 -0
  226. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_api/package-license.json +0 -0
  227. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_conventions/LICENSE +0 -0
  228. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_conventions/package-license.json +0 -0
  229. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_core/LICENSE +0 -0
  230. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_core/package-license.json +0 -0
  231. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_node/LICENSE +0 -0
  232. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_node/package-license.json +0 -0
  233. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_opentelemetry/LICENSE +0 -0
  234. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_opentelemetry/package-license.json +0 -0
  235. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_server-runtime-injection/LICENSE +0 -0
  236. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_server-runtime-injection/LICENSE-SOURCE +0 -0
  237. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_server-runtime-injection/package-license.json +0 -0
  238. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_server-utils/LICENSE +0 -0
  239. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_server-utils/LICENSE-SOURCE +0 -0
  240. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_server-utils/package-license.json +0 -0
  241. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/js-tokens/LICENSE +0 -0
  242. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/js-tokens/package-license.json +0 -0
@@ -17713,6 +17713,7 @@ var require_src10 = __commonJS({
17713
17713
 
17714
17714
  // ../core/dist/redact.js
17715
17715
  var PEM_PATTERN_NAME = "PEM private key block";
17716
+ var PRIVATE_KEY_BLOCK = /-----BEGIN ([A-Z ]*)PRIVATE KEY-----[\s\S]*?(?:-----END \1PRIVATE KEY-----|$)/;
17716
17717
  var SECRET_SHAPE_PATTERNS = [
17717
17718
  { name: "Google API key (AIza)", pattern: /(?<![A-Za-z0-9_-])AIza[0-9A-Za-z_-]{35}(?![A-Za-z0-9_-])/ },
17718
17719
  { name: "Anthropic API key (sk-ant-)", pattern: /(?<![A-Za-z0-9_-])sk-ant-[A-Za-z0-9_-]{90,}/ },
@@ -17724,8 +17725,29 @@ var SECRET_SHAPE_PATTERNS = [
17724
17725
  { name: "Slack token", pattern: /(?<![A-Za-z0-9-])xox[baprs]-[A-Za-z0-9-]{12,}/ },
17725
17726
  { name: "AWS access key ID", pattern: /(?<![0-9A-Z])AKIA[0-9A-Z]{16}(?![0-9A-Z])/ },
17726
17727
  { name: "Fastmail app password (fm2_)", pattern: /(?<![A-Za-z0-9+/=])fm2_[A-Za-z0-9+/=]{20,}/ },
17727
- { name: PEM_PATTERN_NAME, pattern: /-----BEGIN [A-Z ]*PRIVATE KEY-----/ }
17728
+ { name: PEM_PATTERN_NAME, pattern: PRIVATE_KEY_BLOCK }
17728
17729
  ];
17730
+ var AGENT_FAILURE_TOKEN_SHAPES = [
17731
+ /AIza[\w-]+/,
17732
+ // Google API key
17733
+ /AQ\.[\w.\/-]+/,
17734
+ // AI Studio key
17735
+ /sk-[\w.-]+/,
17736
+ // OpenAI-style secret key
17737
+ /gh[pousr]_\w+/,
17738
+ // GitHub token
17739
+ /github_pat_\w+/,
17740
+ // GitHub fine-grained token
17741
+ /ya29\.[\w.-]+/,
17742
+ // Google OAuth access token
17743
+ /eyJ[\w-]+\.[\w-]+(?:\.[\w-]+)?/
17744
+ // JWT
17745
+ ];
17746
+ var AGENT_FAILURE_SECRET_SHAPE_RE = new RegExp(`\\b(?:${AGENT_FAILURE_TOKEN_SHAPES.map((shape) => shape.source).join("|")})`, "g");
17747
+ var IPV4_OCTET = "(?:25[0-5]|2[0-4]\\d|[01]?\\d?\\d)";
17748
+ var PHONE_SEPARATOR = "[\\s.-]?";
17749
+ var PHONE_COUNTRY_CODE = /(?:\+?\d{1,3}[\s.-]?)?/;
17750
+ var PHONE_AREA_CODE = /(?:\(\d{3}\)|\d{3})/;
17729
17751
  var PATTERNS = [
17730
17752
  // Langfuse public/secret keys (pk-lf- / sk-lf-). Must run before the
17731
17753
  // generic sk- rule so the more specific label wins.
@@ -17757,18 +17779,25 @@ var PATTERNS = [
17757
17779
  // JSON Web Tokens. The "header.payload.signature" triple is distinctive
17758
17780
  // enough that false positives are rare (the literal "eyJ" prefix is the
17759
17781
  // base64 encoding of '{"' which is how every JOSE header starts).
17760
- { name: "jwt", regex: /\beyJ[A-Za-z0-9_-]+\.eyJ[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\b/g },
17782
+ { name: "jwt", regex: /(?<!\w)(?<!(?<!\w)eyJ[A-Za-z0-9_-]*?)eyJ[A-Za-z0-9_-]+\.eyJ[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\b/g },
17761
17783
  // Bearer tokens in HTTP Authorization header copy/paste. We only match
17762
17784
  // the value, not the literal 'Bearer ', so the marker stays readable in
17763
17785
  // the redacted output ("Authorization: Bearer [REDACTED:bearer_token]").
17764
- { name: "bearer_token", regex: /(?<=\bBearer\s+)[A-Za-z0-9._~+/-]{16,}={0,2}/g },
17786
+ // The leading lookahead only lets the lookbehind run where a value can start, so a long
17787
+ // whitespace run is not rescanned from every position inside it.
17788
+ { name: "bearer_token", regex: /(?=[A-Za-z0-9._~+/-])(?<=\bBearer\s+)[A-Za-z0-9._~+/-]{16,}={0,2}/g },
17789
+ // Email addresses. Conservative enough to require a TLD-like trailer. The local part is
17790
+ // bounded at the RFC 5321 limit of 64: an unbounded run rescanned the suffix from every word
17791
+ // boundary, so `'a.'.repeat(20000)` blocked ~3 s on a large tool response. Matching starts at
17792
+ // the `@` and reads the local part in a lookbehind (captured as `local`): starting at every word
17793
+ // boundary still cost up to 64 steps per position, ~2.5 s on 10 MiB of `'eyJ-'`.
17765
17794
  // Alphabetic TLDs preserve versioned package paths in error stacks (e.g. pkg@1.2.3).
17766
- { name: "email", regex: /\b[\w.+-]+@(?:[\w-]+\.)+[A-Za-z]{2,}\b/g },
17795
+ { name: "email", regex: /@(?<=\b(?<local>[\w.+-]{1,64})@)(?:[\w-]+\.)+[A-Za-z]{2,}\b/g },
17767
17796
  // IPv4. Reject all-zero / 255.255.255.255-ish junk shapes by gating on
17768
17797
  // each octet being 0-255.
17769
17798
  {
17770
17799
  name: "ipv4",
17771
- regex: /\b(?:(?:25[0-5]|2[0-4]\d|[01]?\d?\d)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d?\d)\b/g
17800
+ regex: new RegExp(`\\b(?:${IPV4_OCTET}\\.){3}${IPV4_OCTET}\\b`, "g")
17772
17801
  },
17773
17802
  // Phone numbers. Tight US-leaning shape; a global PII detector would
17774
17803
  // need a real lib. We keep this so US-based test prompts ('call me at
@@ -17778,26 +17807,59 @@ var PATTERNS = [
17778
17807
  // hashes and identifiers stay readable; separators within phones still match.
17779
17808
  {
17780
17809
  name: "phone",
17781
- regex: /(?<![\w-])(?:\+?\d{1,3}[\s.-]?)?(?:\(\d{3}\)|\d{3})[\s.-]?\d{3}[\s.-]?\d{4}(?![\w-])/g
17810
+ regex: new RegExp(`(?<![\\w-])${PHONE_COUNTRY_CODE.source}${PHONE_AREA_CODE.source}${PHONE_SEPARATOR}\\d{3}${PHONE_SEPARATOR}\\d{4}(?![\\w-])`, "g")
17782
17811
  }
17783
17812
  ];
17813
+ var CATEGORY = {
17814
+ exactSecret: "exact_secret",
17815
+ credential: "credential",
17816
+ urlCredentials: "url_credentials",
17817
+ signedQuery: "signed_query",
17818
+ apiKeyHeader: "api_key_header",
17819
+ apiKeyQuery: "api_key_query",
17820
+ bearerToken: "bearer_token",
17821
+ labeledSecret: "labeled_secret",
17822
+ urlSecretParam: "url_secret_param",
17823
+ opaqueToken: "opaque_token",
17824
+ creditCard: "credit_card"
17825
+ };
17826
+ var GENERATED_CATEGORIES = [...PATTERNS.map(({ name }) => name), ...Object.values(CATEGORY)];
17827
+ function escapeRegExp(text2) {
17828
+ return text2.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
17829
+ }
17830
+ function markerSource(categories) {
17831
+ return `\\[REDACTED:(?:${[...new Set(categories)].map(escapeRegExp).join("|")})\\]`;
17832
+ }
17833
+ var GENERATED_MARKER = markerSource(GENERATED_CATEGORIES);
17834
+ var GENERATED_MARKER_RE = new RegExp(GENERATED_MARKER, "g");
17835
+ var QUOTED_SECRET_VALUE = String.raw`"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'`;
17836
+ var API_KEY_HEADER = new RegExp(`(^|[^?&\\w])(["']?)(x-api-key|api-key|x-goog-api-key)\\2(\\s*[:=]\\s*)(${QUOTED_SECRET_VALUE}|[^\\s,;"'#}]+)`, "gi");
17784
17837
  var SECRET_LABELS = "authorization|bearer|api[-_]?key|access[-_]?token|refresh[-_]?token|client[-_]?secret|password|secret|cookie";
17838
+ var SERIALIZED_SECRET_LABELS = `${SECRET_LABELS}|x[-_](?:goog[-_])?api[-_]?key|api key|token|set[-_]cookie|private[-_]?key`;
17839
+ var EMPTY_QUOTED_ASSIGNMENT_RE = new RegExp(`\\b(?:${SERIALIZED_SECRET_LABELS})\\s*[:=]\\s*$`, "i");
17785
17840
  var LABELED_SECRET_RE = new RegExp(`\\b(${SECRET_LABELS})\\b\\s*[:=]\\s*\\S+`, "gi");
17786
- var MASK_AWARE_LABELED_SECRET_RE = new RegExp(LABELED_SECRET_RE.source.replace(/\\S\+$/, "(?!Bearer\\s+\\[REDACTED:[^\\]]+\\](?:\\s|$))(?!\\[REDACTED:[^\\]]+\\][;&])(\\S+)"), LABELED_SECRET_RE.flags);
17787
- var URL_CREDENTIALS_RE = /(\b[a-z][a-z0-9+.-]*:\/\/)([^/\s?#@]+)@/gi;
17788
- var URL_SECRET_PARAM_RE = /[?&#;]([\w.-]{0,128}?(?:token|key|secret|signature|sig|code|password|passwd|pwd|auth|authorization|credential)s?(?=[._=-])[\w.-]{0,128})=[^&\s"'<>()]+/gi;
17841
+ var CORRELATION_ID = "ERR-[0-9A-F]{4}(?:-[0-9A-F]{4}){3}";
17842
+ var UPPER_SNAKE_DIAGNOSTIC = "[A-Z][A-Z0-9]*(?:_[A-Z0-9]+)+";
17843
+ var NON_SECRET_TOKEN_RE = new RegExp(`^(?:${CORRELATION_ID}|delegated-tool-calls|${UPPER_SNAKE_DIAGNOSTIC})$`);
17844
+ var RUNTIME_SECRET_LABELS = `${SERIALIZED_SECRET_LABELS}|(?<![?&])(?:key)`;
17845
+ var MASK_AWARE_LABELED_SECRET_RE = new RegExp(`(?<![\\w-])(["']?)(${RUNTIME_SECRET_LABELS})\\1\\s*[:=]\\s*(?!Bearer\\s+\\S)(?!${GENERATED_MARKER}[;&])((?!&)\\S)`, "gi");
17846
+ var CHAINED_LABEL_RE = new RegExp(`(?:${RUNTIME_SECRET_LABELS})\\b["']?\\s*[:=]\\s*(?=\\S)`, "iy");
17847
+ var SHORT_BEARER_RE = new RegExp(`Bearer\\s+["']?(?!${GENERATED_MARKER}(?=$|[\\s"',;<>}]))(?=([^\\s"',;<>}]+))`, "gi");
17848
+ var URL_SECRET_WORDS = "token|key|secret|signature|sig|code|password|passwd|pwd|auth|authorization|credential";
17849
+ var URL_SECRET_PARAM_RE = new RegExp(`[?&#;]([\\w.-]{0,128}?(?:${URL_SECRET_WORDS})s?(?=[._=-])[\\w.-]{0,128})=[^&;\\s"'<>()]+`, "gi");
17789
17850
  var LABELED_URL_PARAM_NAME_RE = new RegExp(`(?:^|[.-])(?:${SECRET_LABELS})$`, "i");
17851
+ var MASKED_VALUE_RE = new RegExp(`^["']?${GENERATED_MARKER}["']?$`);
17790
17852
  var PII_PATTERN_NAMES = ["email", "ipv4", "phone"];
17791
17853
  var NON_PII_PATTERNS = PATTERNS.filter((pattern) => !PII_PATTERN_NAMES.includes(pattern.name));
17792
17854
  var PII_PATTERNS = PATTERNS.filter((pattern) => PII_PATTERN_NAMES.includes(pattern.name));
17793
- var PROTECTED_SPAN_RE = new RegExp([
17794
- `\\b(?:${SECRET_LABELS})\\b\\s*[:=]`,
17795
- "\\bbearer\\s+",
17796
- URL_SECRET_PARAM_RE.source.slice(0, URL_SECRET_PARAM_RE.source.lastIndexOf("=") + 1),
17797
- URL_CREDENTIALS_RE.source.slice(0, URL_CREDENTIALS_RE.source.indexOf(")") + 1),
17798
- "\\[REDACTED:[^\\]]*\\]",
17799
- "\\[redacted\\]"
17800
- ].join("|"), "gi");
17855
+
17856
+ // ../core/dist/primitives/trim-chars.js
17857
+ function trimCharsEnd({ text: text2, chars }) {
17858
+ let end = text2.length;
17859
+ while (end > 0 && chars.includes(text2.charAt(end - 1)))
17860
+ end -= 1;
17861
+ return text2.slice(0, end);
17862
+ }
17801
17863
 
17802
17864
  // ../plugins/dist/host/provider-host.js
17803
17865
  var PluginProviderStartupError = class extends Error {
@@ -17811,12 +17873,33 @@ var PluginProviderStartupError = class extends Error {
17811
17873
  }
17812
17874
  };
17813
17875
 
17876
+ // ../core/dist/text/line-tail.js
17877
+ var LINE_TERMINATOR = /[\n\r\u2028\u2029]/;
17878
+ function captureLineTail({ rest }, { minWhitespace = 0 } = {}) {
17879
+ const stripped = rest.trimStart();
17880
+ if (stripped !== "") {
17881
+ const leading = rest.length - stripped.length;
17882
+ return leading >= minWhitespace && !LINE_TERMINATOR.test(stripped) ? stripped : null;
17883
+ }
17884
+ if (rest.length < minWhitespace + 1)
17885
+ return null;
17886
+ const last = rest.slice(-1);
17887
+ return LINE_TERMINATOR.test(last) ? null : last;
17888
+ }
17889
+
17814
17890
  // ../plugins/dist/host/provider-setting-required.js
17815
17891
  function hasProviderAuthHeader({ text: text2, names }, _optional = {}) {
17816
- const pairs = text2.split(",").map((pair) => /^([^=\s][^=]*?)\s*=\s*(.+)$/.exec(pair.trim()));
17892
+ const pairs = text2.split(",").map((pair) => headerPair(pair.trim()));
17817
17893
  if (pairs.some((pair) => !pair))
17818
17894
  return false;
17819
- return pairs.some((pair) => names.some((name) => name.toLowerCase() === pair[1].toLowerCase()) && pair[2].trim() !== "");
17895
+ return pairs.some((pair) => names.some((name) => name.toLowerCase() === pair[0].toLowerCase()) && pair[1].trim() !== "");
17896
+ }
17897
+ function headerPair(pair) {
17898
+ const eq = pair.indexOf("=");
17899
+ if (eq <= 0)
17900
+ return null;
17901
+ const value = captureLineTail({ rest: pair.slice(eq + 1) });
17902
+ return value === null ? null : [pair.slice(0, eq).trimEnd(), value];
17820
17903
  }
17821
17904
 
17822
17905
  // ../diagnostics/dist/core/secrets-only.js
@@ -17830,6 +17913,10 @@ var REUSED_CREDENTIAL_RULES = SECRET_SHAPE_PATTERNS.map((vendor) => ({
17830
17913
  replacement: () => "[REDACTED:credential]"
17831
17914
  }));
17832
17915
  var LABELED_SECRET_LABELS = "password|passwd|pwd|secret|client_secret|api_key|apikey|access_token|refresh_token|id_token|auth_token|token|private_key|secret_access_key|signing_secret|webhook_secret";
17916
+ var AUTH_HEADER_NAMES = "(?:proxy-)?authorization|x-api-key|api-key|x-goog-api-key|x-auth-token";
17917
+ var AUTH_SCHEMES = "Bearer|Basic|Token|Digest|ApiKey";
17918
+ var AUTH_VALUE = String.raw`(?!\[REDACTED)(?:(?!\x60(?=[\s"'.,);]|$))[^\s"'),;])+`;
17919
+ var AUTH_HEADER_VALUE_RE = new RegExp(String.raw`(?<![a-z0-9-])(${AUTH_HEADER_NAMES})(\s*(?:["']\s*)?[:=]\s*["']?)` + String.raw`(?:((?:${AUTH_SCHEMES})\s+)${AUTH_VALUE}|(?!(?:${AUTH_SCHEMES})(?:\s|["'\x60),;]|$))${AUTH_VALUE})`, "gi");
17833
17920
  var REDACTION_RULES = [
17834
17921
  {
17835
17922
  kind: "private_key",
@@ -17850,15 +17937,17 @@ var REDACTION_RULES = [
17850
17937
  // already-redacted text (`Authorization: Bearer [REDACTED:auth_header]`) would fail the
17851
17938
  // `(?!\[REDACTED)` lookahead on the "with scheme" attempt, backtrack the optional group away,
17852
17939
  // and then match the bare word "Bearer" itself as the "value" — corrupting already-redacted
17853
- // text. The second alternative's own `(?!(?:Bearer|...)\s)` explicitly refuses to start on a
17854
- // scheme keyword, so when the first alternative's lookahead fails there is no fallback left to
17940
+ // text. The second alternative explicitly refuses a scheme keyword followed by whitespace
17941
+ // or a value terminator, so when the first alternative's lookahead fails there is no fallback left to
17855
17942
  // backtrack into, and the whole rule correctly finds no match on a second pass.
17856
- pattern: /(?<![A-Za-z0-9-])((?:proxy-)?authorization|x-api-key|api-key|x-goog-api-key|x-auth-token)(\s*["']?\s*[:=]\s*["']?)(?:((?:Bearer|Basic|Token|Digest|ApiKey)\s+)(?!\[REDACTED)[^\s"'),;]+|(?!\[REDACTED)(?!(?:Bearer|Basic|Token|Digest|ApiKey)\s)[^\s"'),;]+)/gi,
17943
+ // Scheme names without a following value (including Markdown's `Authorization: Bearer`)
17944
+ // describe a header; they are not themselves credentials.
17945
+ pattern: AUTH_HEADER_VALUE_RE,
17857
17946
  replacement: ({ match: m }) => `${m[1]}${m[2]}${m[3] ?? ""}[REDACTED:auth_header]`
17858
17947
  },
17859
17948
  {
17860
17949
  kind: "auth_header",
17861
- pattern: /(?<![A-Za-z0-9-])((?:set-)?cookie)(\s*[:=]\s*)(?!\[REDACTED)[^\s"'),;]+(?:;\s*[^\s"'),;]+)*/gi,
17950
+ pattern: /(?<![a-z0-9-])((?:set-)?cookie)(\s*[:=]\s*)(?!\[REDACTED)[^\s"'),;]+(?:;\s*[^\s"'),;]+)*/gi,
17862
17951
  replacement: ({ match: m }) => `${m[1]}${m[2]}[REDACTED:auth_header]`
17863
17952
  },
17864
17953
  {
@@ -17874,18 +17963,18 @@ var REDACTION_RULES = [
17874
17963
  ...REUSED_CREDENTIAL_RULES,
17875
17964
  {
17876
17965
  kind: "stripe_key",
17877
- pattern: /(?<![A-Za-z0-9_])(?:sk|rk)_(?:live|test)_[0-9A-Za-z]{16,}/g,
17966
+ pattern: /(?<!\w)(?:sk|rk)_(?:live|test)_[0-9A-Za-z]{16,}/g,
17878
17967
  replacement: () => "[REDACTED:stripe_key]"
17879
17968
  },
17880
17969
  {
17881
17970
  kind: "stripe_key",
17882
- pattern: /(?<![A-Za-z0-9_])whsec_[A-Za-z0-9]{24,}/g,
17971
+ pattern: /(?<!\w)whsec_[A-Za-z0-9]{24,}/g,
17883
17972
  replacement: () => "[REDACTED:stripe_key]"
17884
17973
  },
17885
17974
  {
17886
17975
  kind: "github_token",
17887
17976
  // Covers `ghs_`/`ghu_`/`ghr_` and lengths the exact-length SECRET_SHAPE_PATTERNS entries miss.
17888
- pattern: /(?<![A-Za-z0-9_])gh[pousr]_[A-Za-z0-9]{30,}/g,
17977
+ pattern: /(?<!\w)gh[pousr]_[A-Za-z0-9]{30,}/g,
17889
17978
  replacement: () => "[REDACTED:github_token]"
17890
17979
  },
17891
17980
  {
@@ -17937,6 +18026,12 @@ var REDACTION_RULES = [
17937
18026
  pattern: new RegExp(`"(${LABELED_SECRET_LABELS})"(\\s*:\\s*)"(?!\\[REDACTED)[^"]+"`, "gi"),
17938
18027
  replacement: ({ match: m }) => `"${m[1]}"${m[2]}"[REDACTED:labeled_secret]"`
17939
18028
  },
18029
+ {
18030
+ kind: "labeled_secret",
18031
+ // Multi-word quoted keys can hold credentials too; translated phrases with spaces stay prose.
18032
+ pattern: new RegExp(String.raw`(["'])((?:[A-Za-z0-9_-]{1,32}[ \t]+){1,6}(?:${LABELED_SECRET_LABELS}))\1(\s*:\s*)(["'])(?!\[REDACTED)[^\s"'\\]{12,}\4`, "gi"),
18033
+ replacement: ({ match: m }) => `${m[1]}${m[2]}${m[1]}${m[3]}${m[4]}[REDACTED:labeled_secret]${m[4]}`
18034
+ },
17940
18035
  {
17941
18036
  kind: "labeled_secret",
17942
18037
  // Colon form: `api_key: <value>`, `{ api_key: 'value' }`, `\"api_key\":\"value\"` (2026-09-16
@@ -17949,8 +18044,9 @@ var REDACTION_RULES = [
17949
18044
  // always taken, an unquoted one only when it is a single ≥12-character token. That is what keeps
17950
18045
  // this file's Must NOT change list intact — `password: must be at least 8 characters` stops at
17951
18046
  // the 4-character `must`, and `token expired at ...` has no colon at all.
17952
- pattern: new RegExp(`(?<![A-Za-z0-9])(${LABELED_SECRET_LABELS})(\\\\?["']?\\s*:\\s*)(?:(\\\\?["'])(?!\\[REDACTED)[^"'\\\\\\r\\n]+\\3|(?!\\[REDACTED)[^\\s"',;}]{12,})`, "gi"),
17953
- replacement: ({ match: m }) => `${m[1]}${m[2]}${m[3] ?? ""}[REDACTED:labeled_secret]${m[3] ?? ""}`
18047
+ // Match the whole key; multi-word labels above additionally require an opaque value.
18048
+ pattern: new RegExp(`(?<![A-Za-z0-9])((?:\\\\?["'])?)((?:[A-Za-z0-9]{1,32}[_-]){0,6}(?:${LABELED_SECRET_LABELS}))\\1(\\s*:\\s*)(?:(\\\\?["'])(?!\\[REDACTED)[^"'\\\\\\r\\n]+\\4|(?!\\[REDACTED)[^\\s"',;}]{12,})`, "gi"),
18049
+ replacement: ({ match: m }) => `${m[1]}${m[2]}${m[1]}${m[3]}${m[4] ?? ""}[REDACTED:labeled_secret]${m[4] ?? ""}`
17954
18050
  },
17955
18051
  {
17956
18052
  kind: "labeled_secret",
@@ -18010,7 +18106,7 @@ function hasSecretLiteralContext({ previous }, _options = {}) {
18010
18106
  if (!name || name.type !== "IdentifierName" && name.type !== "StringLiteral")
18011
18107
  return false;
18012
18108
  const label = name.type === "StringLiteral" ? decodeStaticLiteral({ content: name.value.slice(1, -1) }) : name.value;
18013
- if (!/(pass(word|wd)?|secret|token|api[-_]?key|access[-_]?key|private[-_]?key|client[-_]?secret|auth(orization)?|bearer|cookie|credential)s?$/i.test(label))
18109
+ if (!SECRET_LABEL_SUFFIX.test(label))
18014
18110
  return false;
18015
18111
  if (separator === ":" || separator === "=")
18016
18112
  return true;
@@ -18041,20 +18137,34 @@ function redactUnclassifiedLiteral({ content, adjacentSecret }, _options = {}) {
18041
18137
  return { text: "[REDACTED:high_entropy]", redactions: 1 };
18042
18138
  return { text: content, redactions: 0 };
18043
18139
  }
18140
+ var SECRET_LABEL_WORDS = [
18141
+ "pass(word|wd)?",
18142
+ "secret",
18143
+ "token",
18144
+ "api[-_]?key",
18145
+ "access[-_]?key",
18146
+ "private[-_]?key",
18147
+ "client[-_]?secret",
18148
+ "auth(orization)?",
18149
+ "bearer",
18150
+ "cookie",
18151
+ "credential"
18152
+ ];
18153
+ var SECRET_LABEL_SUFFIX = new RegExp(`(${SECRET_LABEL_WORDS.join("|")})s?$`, "i");
18044
18154
  function decodeStaticLiteral({ content }, _options = {}) {
18045
18155
  const escapes = { n: "\n", r: "\r", t: " ", b: "\b", f: "\f", v: "\v" };
18046
- return content.replace(/\\(u\{[0-9a-fA-F]+\}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{2}|[0-7]{1,3}|\r\n|[\s\S])/g, (_match, escape) => {
18047
- if (escape.startsWith("u{")) {
18048
- const point = Number.parseInt(escape.slice(2, -1), 16);
18156
+ return content.replace(/\\(u\{[0-9a-fA-F]+\}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{2}|[0-7]{1,3}|\r\n|[\s\S])/g, (_match, sequence) => {
18157
+ if (sequence.startsWith("u{")) {
18158
+ const point = Number.parseInt(sequence.slice(2, -1), 16);
18049
18159
  return point <= 1114111 ? String.fromCodePoint(point) : "";
18050
18160
  }
18051
- if (/^[ux]/.test(escape) && escape.length > 1)
18052
- return String.fromCharCode(Number.parseInt(escape.slice(1), 16));
18053
- if (/^[0-7]+$/.test(escape))
18054
- return String.fromCharCode(Number.parseInt(escape, 8));
18055
- if (/^[\r\n]/.test(escape))
18161
+ if (/^[ux]/.test(sequence) && sequence.length > 1)
18162
+ return String.fromCharCode(Number.parseInt(sequence.slice(1), 16));
18163
+ if (/^[0-7]+$/.test(sequence))
18164
+ return String.fromCharCode(Number.parseInt(sequence, 8));
18165
+ if (/^[\r\n]/.test(sequence))
18056
18166
  return "";
18057
- return escapes[escape] ?? escape;
18167
+ return escapes[sequence] ?? sequence;
18058
18168
  });
18059
18169
  }
18060
18170
  function redactCodeTokenContent({ content, literal, adjacentSecret, policy }, _options = {}) {
@@ -18124,9 +18234,12 @@ function redactSecretShapes({ text: text2, policy }) {
18124
18234
  }
18125
18235
 
18126
18236
  // ../diagnostics/dist/observability/otel.js
18237
+ function fallbackErrorLabel(error) {
18238
+ return error instanceof Error ? String(error.name) : typeof error;
18239
+ }
18127
18240
  function errorType(error) {
18128
18241
  const code = error?.code;
18129
- const label = typeof code === "string" && /^[A-Z][A-Z0-9_]{1,63}$/.test(code) ? code : error instanceof Error ? String(error.name) : typeof error;
18242
+ const label = typeof code === "string" && /^[A-Z][A-Z0-9_]{1,63}$/.test(code) ? code : fallbackErrorLabel(error);
18130
18243
  return redactLabel(label).slice(0, MAX_ERROR_TYPE) || "Error";
18131
18244
  }
18132
18245
  var MAX_ERROR_TYPE = 64;
@@ -18138,11 +18251,8 @@ function redactLabel(text2) {
18138
18251
  }
18139
18252
  function redactOperationAttributes({ attributes }) {
18140
18253
  const safe = {};
18141
- for (const name of Object.keys(attributes)) {
18142
- if (Object.keys(safe).length >= MAX_ATTRIBUTES)
18143
- break;
18144
- if (!ATTRIBUTE_KEY.test(name) || redactLabel(name) !== name)
18145
- continue;
18254
+ const names = Object.keys(attributes).filter((name) => ATTRIBUTE_KEY.test(name) && redactLabel(name) === name);
18255
+ for (const name of names.slice(0, MAX_ATTRIBUTES)) {
18146
18256
  const value = attributes[name];
18147
18257
  safe[name] = typeof value === "string" ? redactLabel(value).slice(0, MAX_ATTRIBUTE_TEXT) : value;
18148
18258
  }
@@ -18163,10 +18273,14 @@ function safePathSegment({ segment }, _options = {}) {
18163
18273
  return ":param";
18164
18274
  return decoded;
18165
18275
  }
18276
+ function withoutQueryOrFragment(target) {
18277
+ const cut = target.search(/[?#]/);
18278
+ return cut === -1 ? target : target.slice(0, cut);
18279
+ }
18166
18280
  function redactRequestTarget({ path }, { routePattern } = {}) {
18167
18281
  if (routePattern && routePattern !== "unmatched")
18168
- return routePattern.replace(/[?#][\s\S]*$/, "").slice(0, 1024);
18169
- return path.replace(/[?#][\s\S]*$/, "").split("/").map((segment) => safePathSegment({ segment })).join("/").slice(0, 1024);
18282
+ return withoutQueryOrFragment(routePattern).slice(0, 1024);
18283
+ return withoutQueryOrFragment(path).split("/").map((segment) => safePathSegment({ segment })).join("/").slice(0, 1024);
18170
18284
  }
18171
18285
  function outboundTargetAttributes(url) {
18172
18286
  let parsed;
@@ -18249,8 +18363,10 @@ function createOtelObservabilityPort({ config, exporterFactory, tracerProviderFa
18249
18363
  const span = start({ name: `${method} ${target["server.address"]}`, kind: "client", attributes: { "http.request.method": method, ...target } });
18250
18364
  return { run: runIn(span), end: once(({ statusCode, error }) => {
18251
18365
  const attributes = statusCode !== void 0 ? { "http.response.status_code": statusCode } : {};
18252
- if (error !== void 0)
18253
- return finish({ span, attributes }, { failure: errorType(error), error });
18366
+ if (error !== void 0) {
18367
+ finish({ span, attributes }, { failure: errorType(error), error });
18368
+ return;
18369
+ }
18254
18370
  finish({ span, attributes }, statusCode !== void 0 && statusCode >= 400 ? { failure: String(statusCode) } : {});
18255
18371
  }) };
18256
18372
  },
@@ -18271,6 +18387,7 @@ function createOtelObservabilityPort({ config, exporterFactory, tracerProviderFa
18271
18387
  reportedSpans.add(span);
18272
18388
  if (!active)
18273
18389
  span.end({});
18390
+ return true;
18274
18391
  } catch {
18275
18392
  return false;
18276
18393
  }
@@ -18284,8 +18401,10 @@ function createOtelObservabilityPort({ config, exporterFactory, tracerProviderFa
18284
18401
  } }, { root: true });
18285
18402
  return { run: runIn(span), end: once(({ status, error }) => {
18286
18403
  const attributes = { "agent.run.status": status };
18287
- if (error !== void 0)
18288
- return finish({ span, attributes }, { failure: errorType(error), error });
18404
+ if (error !== void 0) {
18405
+ finish({ span, attributes }, { failure: errorType(error), error });
18406
+ return;
18407
+ }
18289
18408
  finish({ span, attributes }, FAILED_RUN_STATUSES.has(status) ? { failure: status } : {});
18290
18409
  }) };
18291
18410
  }
@@ -18302,13 +18421,15 @@ function resolveObservabilityConfig({ serviceName, tracerName }, { endpoint, tra
18302
18421
  throw new TypeError("serviceName must be non-empty");
18303
18422
  if (!tracerName.trim())
18304
18423
  throw new TypeError("tracerName must be non-empty");
18305
- return { enabled: true, serviceName: serviceName.trim(), tracerName: tracerName.trim(), endpoint: traces || `${base.replace(/\/+$/, "")}/v1/traces` };
18424
+ return { enabled: true, serviceName: serviceName.trim(), tracerName: tracerName.trim(), endpoint: traces || `${trimCharsEnd({ text: base, chars: "/" })}/v1/traces` };
18306
18425
  }
18307
18426
 
18308
18427
  // ../diagnostics/dist/observability/delivery.js
18309
18428
  var ERROR_CLASSES = /* @__PURE__ */ new Set(["Error", "TypeError", "RangeError", "TimeoutError", "AbortError", "OTLPExporterError", "PluginProviderError"]);
18310
18429
  function httpStatus(value) {
18311
- return typeof value === "number" && Number.isInteger(value) && value >= 100 && value <= 599 ? value : void 0;
18430
+ if (typeof value !== "number" || !Number.isInteger(value))
18431
+ return void 0;
18432
+ return value >= 100 && value <= 599 ? value : void 0;
18312
18433
  }
18313
18434
  function describeTelemetryFailure({ error }, _options = {}) {
18314
18435
  if (typeof error !== "object" || error === null)
@@ -19731,6 +19852,13 @@ function createProviderTelemetryReporter({ endpoint }, optional = {}) {
19731
19852
  };
19732
19853
  }
19733
19854
 
19855
+ // src/trim-trailing-slashes.ts
19856
+ function trimTrailingSlashes(text2) {
19857
+ let end = text2.length;
19858
+ while (end > 0 && text2[end - 1] === "/") end -= 1;
19859
+ return text2.slice(0, end);
19860
+ }
19861
+
19734
19862
  // src/observability-opentelemetry/opentelemetry.ts
19735
19863
  var OTLP_SPAN_EXPORTER_COMPONENT = "otlp_http_span_exporter";
19736
19864
  var BATCH_DEFAULTS = { maxExportBatchSize: 512, maxQueueSize: 2048, scheduledDelayMillis: 5e3, exportTimeoutMillis: 3e4 };
@@ -19816,7 +19944,7 @@ function createOtelFactories(_required, options = {}) {
19816
19944
  },
19817
19945
  exporterFactory: {
19818
19946
  create: ({ endpoint }) => {
19819
- if (options.spanProcessors !== void 0) return void 0;
19947
+ if (options.exportEnabled !== true || options.spanProcessors !== void 0) return void 0;
19820
19948
  const exporter = createInjectedOtlpTraceExporter({ url: endpoint }, options);
19821
19949
  exporterPipelines.set(exporter, createReportingExporter({
19822
19950
  exporter,
@@ -19827,7 +19955,7 @@ function createOtelFactories(_required, options = {}) {
19827
19955
  },
19828
19956
  tracerProviderFactory: {
19829
19957
  create: ({ serviceName, exporter }) => {
19830
- let spanProcessors = options.spanProcessors;
19958
+ let spanProcessors = options.exportEnabled === true ? options.spanProcessors : [];
19831
19959
  if (spanProcessors === void 0) {
19832
19960
  if (!(exporter instanceof OTLPExporterBase)) throw new TypeError("OpenTelemetry requires an OTLP trace exporter");
19833
19961
  spanProcessors = [new import_sdk_trace_base.BatchSpanProcessor(exporterPipelines.get(exporter) ?? exporter, BATCH_DEFAULTS)];
@@ -19846,13 +19974,13 @@ function createOtelFactories(_required, options = {}) {
19846
19974
  };
19847
19975
  }
19848
19976
  function resolveMetricsEndpoint({ tracesEndpoint }, { endpoint } = {}) {
19849
- if (endpoint?.trim()) return `${endpoint.trim().replace(/\/+$/, "")}/v1/metrics`;
19977
+ if (endpoint?.trim()) return `${trimTrailingSlashes(endpoint.trim())}/v1/metrics`;
19850
19978
  if (/\/v1\/traces(?=[?#]|$)/.test(tracesEndpoint)) return tracesEndpoint.replace(/\/v1\/traces(?=[?#]|$)/, "/v1/metrics");
19851
19979
  return new URL("/v1/metrics", tracesEndpoint).href;
19852
19980
  }
19853
19981
  function createMetricProvider({ config }, options = {}) {
19854
19982
  const endpoint = resolveMetricsEndpoint({ tracesEndpoint: config.endpoint }, options);
19855
- const readers = options.metricReaders ?? [new import_sdk_metrics.PeriodicExportingMetricReader({
19983
+ const readers = options.exportEnabled !== true ? [] : options.metricReaders ?? [new import_sdk_metrics.PeriodicExportingMetricReader({
19856
19984
  exporter: createReportingExporter({
19857
19985
  exporter: createInjectedOtlpExporter({
19858
19986
  url: endpoint,
@@ -19899,7 +20027,7 @@ function createOtelObservabilityAdapter({ config }, options = {}) {
19899
20027
  const { shutdown, ...factories } = createOtelFactories({}, options);
19900
20028
  const metrics = createMetrics({ config }, options);
19901
20029
  const port = { ...createOtelObservabilityPort({ config, ...factories }, { scope: createAsyncLocalSpanScope({}) }), metric: metrics.metric, supportsMetric: true };
19902
- reporter.initialized({ message: "OpenTelemetry exporting" });
20030
+ reporter.initialized({ message: options.exportEnabled === true ? "OpenTelemetry exporting" : "OpenTelemetry export disabled" });
19903
20031
  return { port, dispose: async () => {
19904
20032
  try {
19905
20033
  await Promise.all([shutdown(), metrics.shutdown()]);
@@ -20010,12 +20138,18 @@ var text = (value, name) => {
20010
20138
  if (typeof value !== "string") throw new TypeError(`${name} must be a string`);
20011
20139
  return value;
20012
20140
  };
20013
- var HEADER_PAIR = /^([^=\s][^=]*?)\s*=\s*(.+)$/;
20141
+ function parseHeaderPair(pair) {
20142
+ const eq = pair.indexOf("=");
20143
+ if (eq <= 0 || /\s/.test(pair[0])) return null;
20144
+ const value = pair.slice(eq + 1).trimStart();
20145
+ if (value === "" || /[\n\r\u2028\u2029]/.test(value)) return null;
20146
+ return [pair.slice(0, eq).trimEnd(), value];
20147
+ }
20014
20148
  function headersFromText(value) {
20015
20149
  if (!value.trim()) return void 0;
20016
- const pairs = value.split(",").map((pair) => HEADER_PAIR.exec(pair.trim()));
20150
+ const pairs = value.split(",").map((pair) => parseHeaderPair(pair.trim()));
20017
20151
  if (pairs.some((pair) => !pair)) throw new TypeError("headers must be Name=Value pairs separated by commas");
20018
- return Object.fromEntries(pairs.map((pair) => [pair[1], pair[2].trim()]));
20152
+ return Object.fromEntries(pairs.map((pair) => [pair[0], pair[1].trim()]));
20019
20153
  }
20020
20154
  function otlpHeadersOf(value) {
20021
20155
  if (value === void 0) return void 0;
@@ -20032,7 +20166,9 @@ function otlpAuthorization({ auth, username, token }, _optional = {}) {
20032
20166
  if (auth) throw new TypeError("Token is required");
20033
20167
  return void 0;
20034
20168
  }
20035
- return usesBasicAuthorization({ auth, username }) ? `Basic ${Buffer.from(`${username.trim()}:${value}`).toString("base64")}` : `Bearer ${value}`;
20169
+ if (!usesBasicAuthorization({ auth, username })) return `Bearer ${value}`;
20170
+ const credentials = `${username.trim()}:${value}`;
20171
+ return `Basic ${Buffer.from(credentials).toString("base64")}`;
20036
20172
  }
20037
20173
  function usesBasicAuthorization({ auth, username }, _optional = {}) {
20038
20174
  return auth === "grafana-cloud" || (auth === void 0 || auth === "token") && Boolean(username?.trim());
@@ -20075,6 +20211,7 @@ function createOpenTelemetryProvider(required, optional = {}) {
20075
20211
  const metricReaders = optional.metricReaders;
20076
20212
  const resourceAttributes = attributionOf(required.attribution).attributes;
20077
20213
  const options = {
20214
+ exportEnabled: optional.exportEnabled === true,
20078
20215
  endpoint,
20079
20216
  metricReaders,
20080
20217
  ...headers ? { headers } : {},
@@ -0,0 +1,19 @@
1
+ # @jini-ai/provider-plugins/observability-sentry
2
+
3
+ ## 0.6.17
4
+
5
+ ### Patch Changes
6
+
7
+ - Handle npm 12 pack JSON through the shared parser in packaging tests.
8
+
9
+ ## 0.6.16
10
+
11
+ ### Minor Changes
12
+
13
+ - Add a pure host-fact policy for outbound observability and require explicit export eligibility in
14
+ Sentry and OpenTelemetry provider factory options. Denied runtimes retain local admission while
15
+ Sentry events, spans, native crash uploads and OTLP trace/metric export stay off. Consent remains
16
+ independent. Hosts must supply the policy decision; rebuild and replace installed provider artifacts.
17
+
18
+ Migration: Hosts must now pass `exportEnabled: true` in provider factory options to permit export.
19
+