@jini-ai/provider-plugins 0.7.3-next.1 → 0.7.3-next.3
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.
- package/CHANGELOG.md +2 -0
- package/catalog.json +25 -20
- package/dist/model-proxy-anthropic/index.d.ts +18 -0
- package/dist/model-proxy-anthropic/index.js +32 -0
- package/dist/model-proxy-azure/index.d.ts +19 -0
- package/dist/model-proxy-azure/index.js +32 -0
- package/dist/model-proxy-google/index.d.ts +18 -0
- package/dist/model-proxy-google/index.js +25 -0
- package/dist/model-proxy-ollama/index.d.ts +8 -0
- package/dist/model-proxy-ollama/index.js +13 -0
- package/dist/model-proxy-openai/index.d.ts +8 -0
- package/dist/model-proxy-openai/index.js +13 -0
- package/dist/observability-opentelemetry/contract.d.ts +2 -0
- package/dist/observability-opentelemetry/otel-port.d.ts +3 -1
- package/dist/observability-opentelemetry/otel-port.js +31 -15
- package/dist/xai/media/index.d.ts +67 -0
- package/dist/xai/media/index.js +132 -0
- package/dist/xai/oauth-port.d.ts +132 -0
- package/dist/xai/oauth-port.js +5 -0
- package/dist/xai/preset.d.ts +22 -0
- package/dist/xai/preset.js +28 -0
- package/dist/xai/routes.d.ts +108 -0
- package/dist/xai/routes.js +658 -0
- package/package.json +68 -27
- package/plugins/ai-trace-langfuse/{0.7.3-next.1 → 0.7.3-next.3}/jini.plugin.json +3 -3
- package/plugins/ai-trace-langfuse/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/package-license.json +1 -1
- package/plugins/ai-trace-langfuse/{0.7.3-next.1 → 0.7.3-next.3}/server/index.mjs +2 -2
- package/plugins/analytics-posthog/{0.7.3-next.1 → 0.7.3-next.3}/README.md +1 -1
- package/plugins/analytics-posthog/{0.7.3-next.1 → 0.7.3-next.3}/jini.plugin.json +4 -4
- package/plugins/analytics-posthog/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/package-license.json +1 -1
- package/plugins/analytics-posthog/{0.7.3-next.1 → 0.7.3-next.3}/server/index.mjs +2 -2
- package/plugins/charts-echarts/{0.7.3-next.1 → 0.7.3-next.3}/client/provider.js +1 -1
- package/plugins/charts-echarts/{0.7.3-next.1 → 0.7.3-next.3}/jini.plugin.json +3 -3
- package/plugins/charts-echarts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/package-license.json +1 -1
- package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/jini.plugin.json +2 -2
- package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/package-license.json +1 -1
- package/plugins/fixture-provider/{0.7.3-next.1 → 0.7.3-next.3}/jini.plugin.json +2 -2
- package/plugins/fixture-provider/0.7.3-next.3/licenses/_jini-ai_provider-plugins/package-license.json +5 -0
- package/plugins/formspree/{0.7.3-next.1 → 0.7.3-next.3}/jini.plugin.json +2 -2
- package/plugins/formspree/0.7.3-next.3/licenses/_jini-ai_provider-plugins/package-license.json +5 -0
- package/plugins/google-forms/{0.7.3-next.1 → 0.7.3-next.3}/jini.plugin.json +2 -2
- package/plugins/google-forms/0.7.3-next.3/licenses/_jini-ai_provider-plugins/package-license.json +5 -0
- package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/README.md +1 -1
- package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/jini.plugin.json +5 -5
- package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_core/package-license.json +1 -1
- package/plugins/observability-opentelemetry/0.7.3-next.3/licenses/_jini-ai_provider-plugins/package-license.json +5 -0
- package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/server/index.mjs +42 -23
- package/plugins/observability-sentry/{0.7.3-next.1 → 0.7.3-next.3}/README.md +1 -1
- package/plugins/observability-sentry/{0.7.3-next.1 → 0.7.3-next.3}/jini.plugin.json +5 -5
- package/plugins/observability-sentry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_core/package-license.json +1 -1
- package/plugins/observability-sentry/0.7.3-next.3/licenses/_jini-ai_provider-plugins/package-license.json +5 -0
- package/plugins/observability-sentry/{0.7.3-next.1 → 0.7.3-next.3}/server/index.mjs +19 -8
- package/plugins/payments-stripe/{0.7.3-next.1 → 0.7.3-next.3}/jini.plugin.json +2 -2
- package/plugins/payments-stripe/0.7.3-next.3/licenses/_jini-ai_provider-plugins/package-license.json +5 -0
- package/plugins/xai/0.7.3-next.3/jini.plugin.json +48 -0
- package/plugins/xai/0.7.3-next.3/licenses/_jini-ai_core/LICENSE +201 -0
- package/plugins/xai/0.7.3-next.3/licenses/_jini-ai_core/package-license.json +5 -0
- package/plugins/xai/0.7.3-next.3/licenses/_jini-ai_protocol/LICENSE +201 -0
- package/plugins/xai/0.7.3-next.3/licenses/_jini-ai_protocol/package-license.json +5 -0
- package/plugins/xai/0.7.3-next.3/licenses/_jini-ai_provider-plugins/LICENSE +201 -0
- package/plugins/xai/0.7.3-next.3/licenses/_jini-ai_provider-plugins/NOTICE +28 -0
- package/plugins/xai/0.7.3-next.3/licenses/_jini-ai_provider-plugins/package-license.json +5 -0
- package/plugins/xai/0.7.3-next.3/licenses/zod/LICENSE +21 -0
- package/plugins/xai/0.7.3-next.3/licenses/zod/package-license.json +5 -0
- package/plugins/xai/0.7.3-next.3/server/index.mjs +1597 -0
- package/plugins/fixture-provider/0.7.3-next.1/licenses/_jini-ai_provider-plugins/package-license.json +0 -5
- package/plugins/formspree/0.7.3-next.1/licenses/_jini-ai_provider-plugins/package-license.json +0 -5
- package/plugins/google-forms/0.7.3-next.1/licenses/_jini-ai_provider-plugins/package-license.json +0 -5
- package/plugins/observability-opentelemetry/0.7.3-next.1/licenses/_jini-ai_provider-plugins/package-license.json +0 -5
- package/plugins/observability-sentry/0.7.3-next.1/licenses/_jini-ai_provider-plugins/package-license.json +0 -5
- package/plugins/payments-stripe/0.7.3-next.1/licenses/_jini-ai_provider-plugins/package-license.json +0 -5
- /package/plugins/ai-trace-langfuse/{0.7.3-next.1 → 0.7.3-next.3}/CHANGELOG.md +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.1 → 0.7.3-next.3}/LICENSE +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.1 → 0.7.3-next.3}/NOTICE +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.1 → 0.7.3-next.3}/README.md +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/LICENSE +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/NOTICE +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.1 → 0.7.3-next.3}/licenses/langfuse/LICENSE +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.1 → 0.7.3-next.3}/licenses/langfuse/LICENSE-SOURCE +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.1 → 0.7.3-next.3}/licenses/langfuse/SOURCE +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.1 → 0.7.3-next.3}/licenses/langfuse/package-license.json +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.1 → 0.7.3-next.3}/licenses/langfuse-core/LICENSE +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.1 → 0.7.3-next.3}/licenses/langfuse-core/LICENSE-SOURCE +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.1 → 0.7.3-next.3}/licenses/langfuse-core/SOURCE +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.1 → 0.7.3-next.3}/licenses/langfuse-core/package-license.json +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.1 → 0.7.3-next.3}/licenses/mustache/LICENSE +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.1 → 0.7.3-next.3}/licenses/mustache/package-license.json +0 -0
- /package/plugins/analytics-posthog/{0.7.3-next.1 → 0.7.3-next.3}/CHANGELOG.md +0 -0
- /package/plugins/analytics-posthog/{0.7.3-next.1 → 0.7.3-next.3}/LICENSE +0 -0
- /package/plugins/analytics-posthog/{0.7.3-next.1 → 0.7.3-next.3}/NOTICE +0 -0
- /package/plugins/analytics-posthog/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/LICENSE +0 -0
- /package/plugins/analytics-posthog/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/NOTICE +0 -0
- /package/plugins/analytics-posthog/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_posthog_core/LICENSE +0 -0
- /package/plugins/analytics-posthog/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_posthog_core/package-license.json +0 -0
- /package/plugins/analytics-posthog/{0.7.3-next.1 → 0.7.3-next.3}/licenses/posthog-js/LICENSE +0 -0
- /package/plugins/analytics-posthog/{0.7.3-next.1 → 0.7.3-next.3}/licenses/posthog-js/package-license.json +0 -0
- /package/plugins/analytics-posthog/{0.7.3-next.1 → 0.7.3-next.3}/licenses/posthog-node/LICENSE +0 -0
- /package/plugins/analytics-posthog/{0.7.3-next.1 → 0.7.3-next.3}/licenses/posthog-node/package-license.json +0 -0
- /package/plugins/analytics-posthog/{0.7.3-next.1 → 0.7.3-next.3}/server/consent-adapter.mjs +0 -0
- /package/plugins/analytics-posthog/{0.7.3-next.1 → 0.7.3-next.3}/server/posthog-browser.js +0 -0
- /package/plugins/charts-echarts/{0.7.3-next.1 → 0.7.3-next.3}/client/styles.css +0 -0
- /package/plugins/charts-echarts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/LICENSE +0 -0
- /package/plugins/charts-echarts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/NOTICE +0 -0
- /package/plugins/charts-echarts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/echarts/LICENSE +0 -0
- /package/plugins/charts-echarts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/echarts/NOTICE +0 -0
- /package/plugins/charts-echarts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/echarts/package-license.json +0 -0
- /package/plugins/charts-echarts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/tslib/LICENSE.txt +0 -0
- /package/plugins/charts-echarts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/tslib/package-license.json +0 -0
- /package/plugins/charts-echarts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/zrender/LICENSE +0 -0
- /package/plugins/charts-echarts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/zrender/package-license.json +0 -0
- /package/plugins/charts-echarts/{0.7.3-next.1 → 0.7.3-next.3}/server/index.mjs +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/client/provider.js +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/client/styles.css +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/NOTICE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_reduxjs_toolkit/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_reduxjs_toolkit/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/clsx/license +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/clsx/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/d3-array/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/d3-array/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/d3-color/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/d3-color/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/d3-format/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/d3-format/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/d3-interpolate/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/d3-interpolate/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/d3-path/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/d3-path/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/d3-scale/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/d3-scale/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/d3-shape/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/d3-shape/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/d3-time/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/d3-time/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/d3-time-format/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/d3-time-format/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/decimal.js-light/LICENCE.md +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/decimal.js-light/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/es-toolkit/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/es-toolkit/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/eventemitter3/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/eventemitter3/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/immer/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/immer/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/internmap/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/internmap/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/react/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/react/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/react-dom/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/react-dom/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/react-is/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/react-is/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/react-redux/LICENSE.md +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/react-redux/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/recharts/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/recharts/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/redux/LICENSE.md +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/redux/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/redux-thunk/LICENSE.md +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/redux-thunk/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/reselect/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/reselect/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/scheduler/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/scheduler/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/tiny-invariant/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/tiny-invariant/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/use-sync-external-store/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/use-sync-external-store/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/victory-vendor/LICENSE.txt +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/licenses/victory-vendor/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.1 → 0.7.3-next.3}/server/index.mjs +0 -0
- /package/plugins/fixture-provider/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/LICENSE +0 -0
- /package/plugins/fixture-provider/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/NOTICE +0 -0
- /package/plugins/fixture-provider/{0.7.3-next.1 → 0.7.3-next.3}/server/index.mjs +0 -0
- /package/plugins/formspree/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/LICENSE +0 -0
- /package/plugins/formspree/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/NOTICE +0 -0
- /package/plugins/formspree/{0.7.3-next.1 → 0.7.3-next.3}/server/index.mjs +0 -0
- /package/plugins/google-forms/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/LICENSE +0 -0
- /package/plugins/google-forms/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/NOTICE +0 -0
- /package/plugins/google-forms/{0.7.3-next.1 → 0.7.3-next.3}/server/index.mjs +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/CHANGELOG.md +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/NOTICE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_core/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/NOTICE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_opentelemetry_api/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_opentelemetry_api/package-license.json +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_opentelemetry_api-logs/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_opentelemetry_api-logs/package-license.json +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_opentelemetry_context-async-hooks/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_opentelemetry_context-async-hooks/package-license.json +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_opentelemetry_core/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_opentelemetry_core/package-license.json +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_opentelemetry_otlp-exporter-base/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_opentelemetry_otlp-exporter-base/package-license.json +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_opentelemetry_otlp-transformer/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_opentelemetry_otlp-transformer/package-license.json +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_opentelemetry_resources/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_opentelemetry_resources/package-license.json +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_opentelemetry_sdk-metrics/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_opentelemetry_sdk-metrics/package-license.json +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_opentelemetry_sdk-trace/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_opentelemetry_sdk-trace/package-license.json +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_opentelemetry_sdk-trace-base/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_opentelemetry_sdk-trace-base/package-license.json +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_opentelemetry_sdk-trace-node/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_opentelemetry_sdk-trace-node/package-license.json +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_opentelemetry_semantic-conventions/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_opentelemetry_semantic-conventions/package-license.json +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.1 → 0.7.3-next.3}/CHANGELOG.md +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.1 → 0.7.3-next.3}/LICENSE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.1 → 0.7.3-next.3}/NOTICE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_core/LICENSE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/LICENSE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/NOTICE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_opentelemetry_api/LICENSE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_opentelemetry_api/package-license.json +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_sentry_conventions/LICENSE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_sentry_conventions/package-license.json +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_sentry_core/LICENSE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_sentry_core/package-license.json +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_sentry_node/LICENSE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_sentry_node/package-license.json +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_sentry_opentelemetry/LICENSE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_sentry_opentelemetry/package-license.json +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_sentry_server-runtime-injection/LICENSE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_sentry_server-runtime-injection/LICENSE-SOURCE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_sentry_server-runtime-injection/package-license.json +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_sentry_server-utils/LICENSE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_sentry_server-utils/LICENSE-SOURCE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_sentry_server-utils/package-license.json +0 -0
- /package/plugins/payments-stripe/{0.7.3-next.1 → 0.7.3-next.3}/CHANGELOG.md +0 -0
- /package/plugins/payments-stripe/{0.7.3-next.1 → 0.7.3-next.3}/LICENSE +0 -0
- /package/plugins/payments-stripe/{0.7.3-next.1 → 0.7.3-next.3}/NOTICE +0 -0
- /package/plugins/payments-stripe/{0.7.3-next.1 → 0.7.3-next.3}/README.md +0 -0
- /package/plugins/payments-stripe/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/LICENSE +0 -0
- /package/plugins/payments-stripe/{0.7.3-next.1 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/NOTICE +0 -0
- /package/plugins/payments-stripe/{0.7.3-next.1 → 0.7.3-next.3}/server/index.mjs +0 -0
|
@@ -19,7 +19,7 @@ with the provider. This server-only plugin has no browser consent adapter.
|
|
|
19
19
|
|
|
20
20
|
Sources remain in `packages/provider-plugins/src/observability-opentelemetry`.
|
|
21
21
|
Both `build` and `prepack` call the existing single-plugin builder, using this package's
|
|
22
|
-
version for the generated artifact. The npm release is **0.7.3-next.
|
|
22
|
+
version for the generated artifact. The npm release is **0.7.3-next.3** in Jini's fixed
|
|
23
23
|
Changesets release group. Build output under `plugins/` is generated and uncommitted.
|
|
24
24
|
Reviewed LICENSE and NOTICE files belong to this distribution; the builder retains them
|
|
25
25
|
and bundled dependency licenses inside the artifact before computing its integrity.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "observability-opentelemetry",
|
|
3
3
|
"name": "OpenTelemetry",
|
|
4
|
-
"version": "0.7.3-next.
|
|
4
|
+
"version": "0.7.3-next.3",
|
|
5
5
|
"sdkRange": "^0.1.0 || ^1.0.0",
|
|
6
6
|
"engine": 1,
|
|
7
7
|
"tier": "tier-3",
|
|
@@ -119,12 +119,12 @@
|
|
|
119
119
|
"CHANGELOG.md": "sha256-d5d0c8f094fe3eb3358a9041fb043e5753b83674eb730ddf414a31ddc04110ff",
|
|
120
120
|
"LICENSE": "sha256-9d95806a26532623360eb84bb17d298f394b55ef73fb4c0796d99b4319b2b0da",
|
|
121
121
|
"NOTICE": "sha256-4a7f0e18c512c3a2d50e3c5072e8dcee983e4a5a904f189194310b1e1db3edc7",
|
|
122
|
-
"README.md": "sha256-
|
|
122
|
+
"README.md": "sha256-e31081a0f5af4da8251bc9f01f6fec3f27a8b80bfa101d161127aba67c5832c7",
|
|
123
123
|
"licenses/_jini-ai_core/LICENSE": "sha256-9d95806a26532623360eb84bb17d298f394b55ef73fb4c0796d99b4319b2b0da",
|
|
124
|
-
"licenses/_jini-ai_core/package-license.json": "sha256-
|
|
124
|
+
"licenses/_jini-ai_core/package-license.json": "sha256-65d8b26f575b68dee57e8afceee983e02c8ee5a8ca9d865aa81af2517bf8b654",
|
|
125
125
|
"licenses/_jini-ai_provider-plugins/LICENSE": "sha256-9d95806a26532623360eb84bb17d298f394b55ef73fb4c0796d99b4319b2b0da",
|
|
126
126
|
"licenses/_jini-ai_provider-plugins/NOTICE": "sha256-41f25c5b9af4c8e8e98e2a7c658b3922253c760686e17e0ef7fa003fae83cb95",
|
|
127
|
-
"licenses/_jini-ai_provider-plugins/package-license.json": "sha256-
|
|
127
|
+
"licenses/_jini-ai_provider-plugins/package-license.json": "sha256-250df348be7239cf1543d2d2545fae23d19fe29ededc24a2e1f91eced3fe3acc",
|
|
128
128
|
"licenses/_opentelemetry_api/LICENSE": "sha256-c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4",
|
|
129
129
|
"licenses/_opentelemetry_api/package-license.json": "sha256-1535b30eb72144f96b0f2f473308b5a6239bd81c6346d9c151842b2e9b3cd3d1",
|
|
130
130
|
"licenses/_opentelemetry_api-logs/LICENSE": "sha256-c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4",
|
|
@@ -149,6 +149,6 @@
|
|
|
149
149
|
"licenses/_opentelemetry_sdk-trace-node/package-license.json": "sha256-a9e210dd7a5ae500f89190574449fcfc99d2f9ad8a44bf83e4e81a889841af78",
|
|
150
150
|
"licenses/_opentelemetry_semantic-conventions/LICENSE": "sha256-c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4",
|
|
151
151
|
"licenses/_opentelemetry_semantic-conventions/package-license.json": "sha256-0ec80485a2d86ac074d8840badc0243f5c4481e542dfb9c3aa5d9dcbed96c386",
|
|
152
|
-
"server/index.mjs": "sha256-
|
|
152
|
+
"server/index.mjs": "sha256-5d12890a647e5e812e8b38f1e031858da3eecb40f485dbac113b4e87aa0ce59e"
|
|
153
153
|
}
|
|
154
154
|
}
|
|
@@ -18760,7 +18760,7 @@ function redactRequestTarget({ path }, { routePattern } = {}) {
|
|
|
18760
18760
|
if (routePattern && routePattern !== "unmatched") return withoutQueryOrFragment(routePattern).slice(0, 1024);
|
|
18761
18761
|
return withoutQueryOrFragment(path).split("/").map((segment) => safePathSegment({ segment })).join("/").slice(0, 1024);
|
|
18762
18762
|
}
|
|
18763
|
-
function outboundTargetAttributes(url) {
|
|
18763
|
+
function outboundTargetAttributes({ url }, _optional = {}) {
|
|
18764
18764
|
let parsed;
|
|
18765
18765
|
try {
|
|
18766
18766
|
parsed = new URL(url);
|
|
@@ -18798,9 +18798,9 @@ function finishWithOutcome({ ctx, span, attributes }, { error, softFailure } = {
|
|
|
18798
18798
|
}
|
|
18799
18799
|
finish({ ctx, span, attributes }, softFailure !== void 0 ? { failure: softFailure } : {});
|
|
18800
18800
|
}
|
|
18801
|
-
function start({ ctx, name, kind, attributes }, { root = false } = {}) {
|
|
18801
|
+
function start({ ctx, name, kind, attributes }, { root = false, traceparent } = {}) {
|
|
18802
18802
|
const parent = root ? void 0 : ctx.scope?.active();
|
|
18803
|
-
return ctx.tracer.startSpan({ name, kind, attributes }, parent ? { parent } : {});
|
|
18803
|
+
return ctx.tracer.startSpan({ name, kind, attributes }, { ...parent ? { parent } : {}, ...traceparent ? { traceparent } : {} });
|
|
18804
18804
|
}
|
|
18805
18805
|
function runIn({ ctx, span }) {
|
|
18806
18806
|
return (fn) => ctx.scope ? ctx.scope.run({ span, fn }) : fn();
|
|
@@ -18829,18 +18829,19 @@ function trackDbQuery({ ctx, system }) {
|
|
|
18829
18829
|
}) };
|
|
18830
18830
|
}
|
|
18831
18831
|
function trackOutboundCall({ ctx, method, url }) {
|
|
18832
|
-
const target = outboundTargetAttributes(url);
|
|
18832
|
+
const target = outboundTargetAttributes({ url });
|
|
18833
18833
|
const span = start({ ctx, name: `${method} ${target["server.address"]}`, kind: "client", attributes: { "http.request.method": method, ...target } });
|
|
18834
18834
|
return { run: runIn({ ctx, span }), end: once(({ statusCode, error }) => {
|
|
18835
18835
|
const attributes = statusCode !== void 0 ? { "http.response.status_code": statusCode } : {};
|
|
18836
18836
|
finishWithOutcome({ ctx, span, attributes }, { error, ...statusCode !== void 0 && statusCode >= 400 ? { softFailure: String(statusCode) } : {} });
|
|
18837
18837
|
}) };
|
|
18838
18838
|
}
|
|
18839
|
-
function trackOperation({ ctx, name, attributes = {} }) {
|
|
18839
|
+
function trackOperation({ ctx, name, attributes = {}, traceparent }) {
|
|
18840
18840
|
const { redactOperationAttributes, redactLabel } = ctx.helpers;
|
|
18841
|
-
const span = start({ ctx, name, kind: "internal", attributes: redactOperationAttributes({ attributes }) });
|
|
18842
|
-
return { run: runIn({ ctx, span }), end: once(({ outcome, failed, attributes: settled = {} }) => {
|
|
18841
|
+
const span = start({ ctx, name, kind: "internal", attributes: redactOperationAttributes({ attributes }) }, traceparent ? { traceparent } : {});
|
|
18842
|
+
return { run: runIn({ ctx, span }), traceIds: () => span.ids?.(), end: once(({ outcome, failed, attributes: settled = {} }) => {
|
|
18843
18843
|
finish({ ctx, span, attributes: redactOperationAttributes({ attributes: { ...settled, "operation.outcome": outcome } }) }, failed ? { failure: redactLabel({ text: outcome }) } : {});
|
|
18844
|
+
ctx.metric?.({ name: "operation.completed", value: 1 }, { kind: "counter", attributes: { "operation.name": name, "operation.failed": failed ? 1 : 0 } });
|
|
18844
18845
|
}) };
|
|
18845
18846
|
}
|
|
18846
18847
|
function reportError({ ctx, error, context }) {
|
|
@@ -18848,8 +18849,8 @@ function reportError({ ctx, error, context }) {
|
|
|
18848
18849
|
try {
|
|
18849
18850
|
const active = ctx.scope?.active();
|
|
18850
18851
|
const span = active ?? start({ ctx, name: `error ${context.operation}`, kind: "internal", attributes: redactOperationAttributes({ attributes: context.attributes ?? {} }) }, { root: true });
|
|
18851
|
-
const type = errorType({ error });
|
|
18852
|
-
span.addEvent({ name: "exception", attributes: { "exception.type": type, "operation.name": context.operation } });
|
|
18852
|
+
const type = context.incidentId && context.label ? context.label : errorType({ error });
|
|
18853
|
+
span.addEvent({ name: "exception", attributes: { "exception.type": type, "operation.name": context.operation, ...context.incidentId ? { "incident.id": context.incidentId } : {} } });
|
|
18853
18854
|
span.setAttribute({ name: "error.type", value: type });
|
|
18854
18855
|
span.setStatus({ code: "error", description: type });
|
|
18855
18856
|
ctx.reportedSpans.add(span);
|
|
@@ -18859,17 +18860,27 @@ function reportError({ ctx, error, context }) {
|
|
|
18859
18860
|
return false;
|
|
18860
18861
|
}
|
|
18861
18862
|
}
|
|
18862
|
-
function
|
|
18863
|
+
function agentUsageAttributes({ usage }, _optional = {}) {
|
|
18864
|
+
const attributes = {};
|
|
18865
|
+
if (!usage) return attributes;
|
|
18866
|
+
for (const [name, value] of [["gen_ai.usage.input_tokens", usage.inputTokens], ["gen_ai.usage.output_tokens", usage.outputTokens]]) {
|
|
18867
|
+
if (value !== void 0 && Number.isInteger(value) && value >= 0) attributes[name] = value;
|
|
18868
|
+
}
|
|
18869
|
+
if (usage.costUsd !== void 0 && Number.isFinite(usage.costUsd) && usage.costUsd >= 0) attributes["gen_ai.usage.cost_usd"] = usage.costUsd;
|
|
18870
|
+
return attributes;
|
|
18871
|
+
}
|
|
18872
|
+
function trackAgentRun({ ctx, runId, conversationId, agentName, traceparent }) {
|
|
18863
18873
|
const startedAt = ctx.metric ? performance.now() : 0;
|
|
18864
18874
|
const span = start({ ctx, name: agentName ? `invoke_agent ${agentName}` : "invoke_agent", kind: "internal", attributes: {
|
|
18865
18875
|
"gen_ai.operation.name": "invoke_agent",
|
|
18866
18876
|
...agentName ? { "gen_ai.agent.name": agentName } : {},
|
|
18867
18877
|
...conversationId ? { "gen_ai.conversation.id": conversationId } : {},
|
|
18868
18878
|
"agent.run.id": runId
|
|
18869
|
-
} }, { root: true });
|
|
18870
|
-
return { run: runIn({ ctx, span }), end: once(({ status, error }) => {
|
|
18871
|
-
finishWithOutcome({ ctx, span, attributes: { "agent.run.status": status } }, { error, ...FAILED_RUN_STATUSES.has(status) ? { softFailure: status } : {} });
|
|
18879
|
+
} }, { root: true, ...traceparent ? { traceparent } : {} });
|
|
18880
|
+
return { run: runIn({ ctx, span }), end: once(({ status, error, usage }) => {
|
|
18881
|
+
finishWithOutcome({ ctx, span, attributes: { "agent.run.status": status, ...agentUsageAttributes({ usage }) } }, { error, ...FAILED_RUN_STATUSES.has(status) ? { softFailure: status } : {} });
|
|
18872
18882
|
ctx.metric?.({ name: "agent.run.duration", value: performance.now() - startedAt }, { kind: "histogram", unit: "ms" });
|
|
18883
|
+
ctx.metric?.({ name: "agent.run.completed", value: 1 }, { kind: "counter", attributes: { "agent.run.status": status } });
|
|
18873
18884
|
}) };
|
|
18874
18885
|
}
|
|
18875
18886
|
function createOtelObservabilityPort({ config, exporterFactory, tracerProviderFactory }, { scope, helpers, metric }) {
|
|
@@ -18879,15 +18890,16 @@ function createOtelObservabilityPort({ config, exporterFactory, tracerProviderFa
|
|
|
18879
18890
|
return {
|
|
18880
18891
|
supportsMetric: false,
|
|
18881
18892
|
activeTraceIds: (_required = {}, _optional = {}) => scope?.active()?.ids?.(),
|
|
18893
|
+
activeTraceparent: () => scope?.active()?.traceparent?.(),
|
|
18882
18894
|
// This structural tracing adapter has no metrics exporter; the provider plugin supplies it.
|
|
18883
18895
|
metric() {
|
|
18884
18896
|
},
|
|
18885
18897
|
trackRequest: (input, { requestId } = {}) => trackRequest({ ctx, input, ...requestId ? { requestId } : {} }),
|
|
18886
18898
|
trackDbQuery: ({ system }) => trackDbQuery({ ctx, system }),
|
|
18887
18899
|
trackOutboundCall: ({ method, url }) => trackOutboundCall({ ctx, method, url }),
|
|
18888
|
-
trackOperation: ({ name, attributes }) => trackOperation({ ctx, name, ...attributes ? { attributes } : {} }),
|
|
18900
|
+
trackOperation: ({ name, attributes, traceparent }) => trackOperation({ ctx, name, ...attributes ? { attributes } : {}, ...traceparent ? { traceparent } : {} }),
|
|
18889
18901
|
reportError: ({ error, context }) => reportError({ ctx, error, context }),
|
|
18890
|
-
trackAgentRun: ({ runId }, { conversationId, agentName } = {}) => trackAgentRun({ ctx, runId, ...conversationId ? { conversationId } : {}, ...agentName ? { agentName } : {} })
|
|
18902
|
+
trackAgentRun: ({ runId }, { conversationId, agentName, traceparent } = {}) => trackAgentRun({ ctx, runId, ...conversationId ? { conversationId } : {}, ...agentName ? { agentName } : {}, ...traceparent ? { traceparent } : {} })
|
|
18891
18903
|
};
|
|
18892
18904
|
}
|
|
18893
18905
|
|
|
@@ -18911,7 +18923,7 @@ function createProviderTelemetryReporter({ endpoint, describeTelemetryFailure },
|
|
|
18911
18923
|
}
|
|
18912
18924
|
|
|
18913
18925
|
// src/trim-trailing-slashes.ts
|
|
18914
|
-
function trimTrailingSlashes(text2) {
|
|
18926
|
+
function trimTrailingSlashes({ text: text2 }, _optional = {}) {
|
|
18915
18927
|
let end = text2.length;
|
|
18916
18928
|
while (end > 0 && text2[end - 1] === "/") end -= 1;
|
|
18917
18929
|
return text2.slice(0, end);
|
|
@@ -18968,6 +18980,11 @@ function adaptSpan({ span }) {
|
|
|
18968
18980
|
const { traceId, spanId } = span.spanContext();
|
|
18969
18981
|
return { traceId, spanId };
|
|
18970
18982
|
},
|
|
18983
|
+
traceparent: () => {
|
|
18984
|
+
if (ended) return void 0;
|
|
18985
|
+
const { traceId, spanId, traceFlags } = span.spanContext();
|
|
18986
|
+
return `00-${traceId}-${spanId}-${traceFlags.toString(16).padStart(2, "0")}`;
|
|
18987
|
+
},
|
|
18971
18988
|
updateName: ({ name }) => {
|
|
18972
18989
|
span.updateName(name);
|
|
18973
18990
|
},
|
|
@@ -18990,9 +19007,11 @@ function adaptSpan({ span }) {
|
|
|
18990
19007
|
}
|
|
18991
19008
|
function adaptTracer({ tracer }, _options = {}) {
|
|
18992
19009
|
return {
|
|
18993
|
-
startSpan: ({ name, kind, attributes }, { parent } = {}) => {
|
|
19010
|
+
startSpan: ({ name, kind, attributes }, { parent, traceparent } = {}) => {
|
|
18994
19011
|
const parentSpan = parent ? sdkSpans.get(parent) : void 0;
|
|
18995
|
-
const
|
|
19012
|
+
const remote = traceparent?.match(/^00-([a-f0-9]{32})-([a-f0-9]{16})-([a-f0-9]{2})(?![\s\S])/);
|
|
19013
|
+
const remoteContext = remote ? { traceId: remote[1], spanId: remote[2], traceFlags: Number.parseInt(remote[3], 16), isRemote: true } : void 0;
|
|
19014
|
+
const context = remoteContext && isSpanContextValid(remoteContext) ? trace.setSpanContext(ROOT_CONTEXT, remoteContext) : parentSpan ? trace.setSpan(ROOT_CONTEXT, parentSpan) : ROOT_CONTEXT;
|
|
18996
19015
|
return adaptSpan({ span: tracer.startSpan(name, { kind: SDK_SPAN_KINDS[kind], attributes }, context) });
|
|
18997
19016
|
}
|
|
18998
19017
|
};
|
|
@@ -19036,7 +19055,7 @@ function createOtelFactories({ describeTelemetryFailure }, options = {}) {
|
|
|
19036
19055
|
};
|
|
19037
19056
|
}
|
|
19038
19057
|
function resolveMetricsEndpoint({ tracesEndpoint }, { endpoint } = {}) {
|
|
19039
|
-
if (endpoint?.trim()) return `${trimTrailingSlashes(endpoint.trim())}/v1/metrics`;
|
|
19058
|
+
if (endpoint?.trim()) return `${trimTrailingSlashes({ text: endpoint.trim() })}/v1/metrics`;
|
|
19040
19059
|
if (/\/v1\/traces(?=[?#]|$)/.test(tracesEndpoint)) return tracesEndpoint.replace(/\/v1\/traces(?=[?#]|$)/, "/v1/metrics");
|
|
19041
19060
|
return new URL("/v1/metrics", tracesEndpoint).href;
|
|
19042
19061
|
}
|
|
@@ -19109,7 +19128,7 @@ function stringMap(value, name) {
|
|
|
19109
19128
|
}
|
|
19110
19129
|
return { ...value };
|
|
19111
19130
|
}
|
|
19112
|
-
function attributionOf(value) {
|
|
19131
|
+
function attributionOf({ value }, _optional = {}) {
|
|
19113
19132
|
if (value === void 0) return EMPTY;
|
|
19114
19133
|
if (!value || typeof value !== "object" || Array.isArray(value)) throw new TypeError("attribution must be an object");
|
|
19115
19134
|
const { attributes, groups, tags } = value;
|
|
@@ -19213,7 +19232,7 @@ function headersFromText(value) {
|
|
|
19213
19232
|
if (pairs.some((pair) => !pair)) throw new TypeError("headers must be Name=Value pairs separated by commas");
|
|
19214
19233
|
return Object.fromEntries(pairs.map((pair) => [pair[0], pair[1].trim()]));
|
|
19215
19234
|
}
|
|
19216
|
-
function otlpHeadersOf(value) {
|
|
19235
|
+
function otlpHeadersOf({ value }, _optional = {}) {
|
|
19217
19236
|
if (value === void 0) return void 0;
|
|
19218
19237
|
if (typeof value === "string") return headersFromText(value);
|
|
19219
19238
|
if (!value || typeof value !== "object" || Array.isArray(value)) throw new TypeError("headers must be an object of strings");
|
|
@@ -19269,10 +19288,10 @@ function createOpenTelemetryProvider(required, optional = {}) {
|
|
|
19269
19288
|
tracerName: text(required.tracerName, "tracerName") ?? serviceName ?? ""
|
|
19270
19289
|
}, { ...endpoint === void 0 ? {} : { endpoint }, ...tracesEndpoint === void 0 ? {} : { tracesEndpoint } });
|
|
19271
19290
|
if (!config.enabled) throw new TypeError("an OTLP endpoint is required");
|
|
19272
|
-
const headers = otlpAuthHeaders({ auth: text(required.auth, "auth"), username: text(required.username, "username"), token: text(required.token, "token"), headers: otlpHeadersOf(required.headers) });
|
|
19291
|
+
const headers = otlpAuthHeaders({ auth: text(required.auth, "auth"), username: text(required.username, "username"), token: text(required.token, "token"), headers: otlpHeadersOf({ value: required.headers }) });
|
|
19273
19292
|
const spanProcessors = optional.spanProcessors;
|
|
19274
19293
|
const metricReaders = optional.metricReaders;
|
|
19275
|
-
const resourceAttributes = attributionOf(required.attribution).attributes;
|
|
19294
|
+
const resourceAttributes = attributionOf({ value: required.attribution }).attributes;
|
|
19276
19295
|
const options = {
|
|
19277
19296
|
exportEnabled: optional.exportEnabled === true,
|
|
19278
19297
|
endpoint,
|
|
@@ -19,7 +19,7 @@ has no browser consent adapter.
|
|
|
19
19
|
|
|
20
20
|
Sources remain in `packages/provider-plugins/src/observability-sentry`.
|
|
21
21
|
Both `build` and `prepack` call the existing single-plugin builder, using this package's
|
|
22
|
-
version for the generated artifact. The npm release is **0.7.3-next.
|
|
22
|
+
version for the generated artifact. The npm release is **0.7.3-next.3** in Jini's fixed
|
|
23
23
|
Changesets release group. Build output under `plugins/` is generated and uncommitted.
|
|
24
24
|
Reviewed LICENSE and NOTICE files belong to this distribution; the builder retains them
|
|
25
25
|
and bundled dependency licenses inside the artifact before computing its integrity.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "observability-sentry",
|
|
3
3
|
"name": "Sentry",
|
|
4
|
-
"version": "0.7.3-next.
|
|
4
|
+
"version": "0.7.3-next.3",
|
|
5
5
|
"sdkRange": "^0.1.0 || ^1.0.0",
|
|
6
6
|
"engine": 1,
|
|
7
7
|
"tier": "tier-3",
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"CHANGELOG.md": "sha256-32fc6ab34ab7c794f0117b266acfdf5583eaf08695252fafc203ce8ffa6a4d86",
|
|
46
46
|
"LICENSE": "sha256-9d95806a26532623360eb84bb17d298f394b55ef73fb4c0796d99b4319b2b0da",
|
|
47
47
|
"NOTICE": "sha256-9b76d3e8027cefee5f9df2dbffd3f71e6d95d7b7c0a4f4e4e47a2eaae81b63d7",
|
|
48
|
-
"README.md": "sha256-
|
|
48
|
+
"README.md": "sha256-255189052f63ab37547e1d0dcead1431a31fa366008ccc35ee3e0b0d6dff8509",
|
|
49
49
|
"licenses/_jini-ai_core/LICENSE": "sha256-9d95806a26532623360eb84bb17d298f394b55ef73fb4c0796d99b4319b2b0da",
|
|
50
|
-
"licenses/_jini-ai_core/package-license.json": "sha256-
|
|
50
|
+
"licenses/_jini-ai_core/package-license.json": "sha256-65d8b26f575b68dee57e8afceee983e02c8ee5a8ca9d865aa81af2517bf8b654",
|
|
51
51
|
"licenses/_jini-ai_provider-plugins/LICENSE": "sha256-9d95806a26532623360eb84bb17d298f394b55ef73fb4c0796d99b4319b2b0da",
|
|
52
52
|
"licenses/_jini-ai_provider-plugins/NOTICE": "sha256-41f25c5b9af4c8e8e98e2a7c658b3922253c760686e17e0ef7fa003fae83cb95",
|
|
53
|
-
"licenses/_jini-ai_provider-plugins/package-license.json": "sha256-
|
|
53
|
+
"licenses/_jini-ai_provider-plugins/package-license.json": "sha256-250df348be7239cf1543d2d2545fae23d19fe29ededc24a2e1f91eced3fe3acc",
|
|
54
54
|
"licenses/_opentelemetry_api/LICENSE": "sha256-c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4",
|
|
55
55
|
"licenses/_opentelemetry_api/package-license.json": "sha256-1535b30eb72144f96b0f2f473308b5a6239bd81c6346d9c151842b2e9b3cd3d1",
|
|
56
56
|
"licenses/_sentry_conventions/LICENSE": "sha256-6c459083310e285797954222cc75bb33a56c04512d4f07c8b1b80258f99b0278",
|
|
@@ -67,6 +67,6 @@
|
|
|
67
67
|
"licenses/_sentry_server-utils/LICENSE": "sha256-f3df0b92efcd9d8cc0de5a36c151569a12a647d65b851abbb696ef7b13dee10b",
|
|
68
68
|
"licenses/_sentry_server-utils/LICENSE-SOURCE": "sha256-dabf27713f74b53ed1b4f6412fa417dfa1b757da97f94ea243bbdb05503c168d",
|
|
69
69
|
"licenses/_sentry_server-utils/package-license.json": "sha256-fc86dcf64159ae72833f6c8655f0841c714aed8b67a241e76ca00a2bfb0bd9b7",
|
|
70
|
-
"server/index.mjs": "sha256-
|
|
70
|
+
"server/index.mjs": "sha256-8f1ff5b8e0892d601bb0f5ebb818d70ea9c5916812a8997c8f1747feaa29b5af"
|
|
71
71
|
}
|
|
72
72
|
}
|
|
@@ -9,7 +9,7 @@ function stringMap(value, name) {
|
|
|
9
9
|
}
|
|
10
10
|
return { ...value };
|
|
11
11
|
}
|
|
12
|
-
function attributionOf(value) {
|
|
12
|
+
function attributionOf({ value }, _optional = {}) {
|
|
13
13
|
if (value === void 0) return EMPTY;
|
|
14
14
|
if (!value || typeof value !== "object" || Array.isArray(value)) throw new TypeError("attribution must be an object");
|
|
15
15
|
const { attributes, groups, tags } = value;
|
|
@@ -4393,6 +4393,9 @@ function hintIsScopeContext(hint) {
|
|
|
4393
4393
|
function captureException(exception, hint) {
|
|
4394
4394
|
return getCurrentScope().captureException(exception, parseEventHintOrCaptureContext(hint));
|
|
4395
4395
|
}
|
|
4396
|
+
function captureEvent(event, hint) {
|
|
4397
|
+
return getCurrentScope().captureEvent(event, hint);
|
|
4398
|
+
}
|
|
4396
4399
|
|
|
4397
4400
|
// ../../node_modules/.pnpm/@sentry+core@11.6.0/node_modules/@sentry/core/build/esm/api.js
|
|
4398
4401
|
var SENTRY_API_VERSION = "7";
|
|
@@ -12042,6 +12045,7 @@ var NOOP_SIGNAL_TRACKER = Object.freeze({ end() {
|
|
|
12042
12045
|
var NOOP_PORT = Object.freeze({
|
|
12043
12046
|
supportsMetric: false,
|
|
12044
12047
|
activeTraceIds: () => void 0,
|
|
12048
|
+
activeTraceparent: () => void 0,
|
|
12045
12049
|
trackRequest: () => NOOP_TRACKER,
|
|
12046
12050
|
trackDbQuery: () => NOOP_SIGNAL_TRACKER,
|
|
12047
12051
|
trackOutboundCall: () => NOOP_SIGNAL_TRACKER,
|
|
@@ -12075,7 +12079,7 @@ function createProviderTelemetryReporter({ endpoint, describeTelemetryFailure },
|
|
|
12075
12079
|
}
|
|
12076
12080
|
|
|
12077
12081
|
// src/trim-trailing-slashes.ts
|
|
12078
|
-
function trimTrailingSlashes(text) {
|
|
12082
|
+
function trimTrailingSlashes({ text }, _optional = {}) {
|
|
12079
12083
|
let end = text.length;
|
|
12080
12084
|
while (end > 0 && text[end - 1] === "/") end -= 1;
|
|
12081
12085
|
return text.slice(0, end);
|
|
@@ -12110,7 +12114,7 @@ function privateClient({ config }, { transport, exportEnabled }) {
|
|
|
12110
12114
|
function minidumpEndpoint({ dsn }, _options = {}) {
|
|
12111
12115
|
try {
|
|
12112
12116
|
const url = new URL(dsn);
|
|
12113
|
-
const parts = trimTrailingSlashes(url.pathname).split("/");
|
|
12117
|
+
const parts = trimTrailingSlashes({ text: url.pathname }).split("/");
|
|
12114
12118
|
const project = parts.pop();
|
|
12115
12119
|
if (!/^https?:$/.test(url.protocol) || !url.username || !/^\d+$/.test(project ?? "")) return void 0;
|
|
12116
12120
|
return `${url.protocol}//${url.host}${parts.join("/")}/api/${project}/minidump/?sentry_key=${encodeURIComponent(decodeURIComponent(url.username))}`;
|
|
@@ -12142,10 +12146,13 @@ function createSentryObservabilityAdapter({ config, context: helpers }, options
|
|
|
12142
12146
|
if (!exportEnabled && !owned) return void 0;
|
|
12143
12147
|
try {
|
|
12144
12148
|
const span = active.getStore();
|
|
12145
|
-
const capture = () =>
|
|
12146
|
-
|
|
12147
|
-
|
|
12148
|
-
|
|
12149
|
+
const capture = () => {
|
|
12150
|
+
const details = { ...context2.level ? { level: context2.level } : {}, tags: { operation: context2.operation }, contexts: {
|
|
12151
|
+
operation: helpers.redactOperationAttributes({ attributes: context2.attributes ?? {} }),
|
|
12152
|
+
...context2.trace ? { otel: { trace_id: context2.trace.traceId, span_id: context2.trace.spanId } } : {}
|
|
12153
|
+
} };
|
|
12154
|
+
return context2.incidentId ? captureEvent({ ...details, exception: { values: [{ ...context2.label === void 0 ? {} : { type: context2.label }, value: context2.incidentId, ...error2 instanceof Error && error2.stack ? { stacktrace: { frames: defaultStackParser(error2.stack, 1) } } : {} }] } }) : captureException(sanitizedError({ error: error2, describeReportedError: helpers.describeReportedError }), details);
|
|
12155
|
+
};
|
|
12149
12156
|
inClient(() => span ? withActiveSpan(span, capture) : capture());
|
|
12150
12157
|
return void 0;
|
|
12151
12158
|
} catch {
|
|
@@ -12175,6 +12182,10 @@ function createSentryOperationTracker({ exportEnabled, active, helpers }, inClie
|
|
|
12175
12182
|
let ended = false;
|
|
12176
12183
|
return {
|
|
12177
12184
|
run: (fn) => active.run(span, fn),
|
|
12185
|
+
traceIds: () => {
|
|
12186
|
+
const { traceId, spanId } = span.spanContext();
|
|
12187
|
+
return { traceId, spanId };
|
|
12188
|
+
},
|
|
12178
12189
|
end({ outcome, failed, attributes: settled = {} }) {
|
|
12179
12190
|
if (ended) return;
|
|
12180
12191
|
ended = true;
|
|
@@ -12217,7 +12228,7 @@ function createSentryProvider(required, optional = {}) {
|
|
|
12217
12228
|
if (typeof dsn !== "string" || !dsn.trim()) throw new TypeError("dsn must be a non-empty string");
|
|
12218
12229
|
if (typeof environment !== "string") throw new TypeError("environment must be a string");
|
|
12219
12230
|
const sampleRate = validatedSampleRate({ tracesSampleRate });
|
|
12220
|
-
const tags = attributionOf(required.attribution).attributes;
|
|
12231
|
+
const tags = attributionOf({ value: required.attribution }).attributes;
|
|
12221
12232
|
const resolvedEnvironment = environment || tags["deployment.environment"];
|
|
12222
12233
|
const config = { enabled: true, dsn: dsn.trim(), tracesSampleRate: sampleRate, tags, ...releaseInput(required), ...resolvedEnvironment ? { environment: resolvedEnvironment } : {} };
|
|
12223
12234
|
const { port, dispose } = createSentryObservabilityAdapter({ config, context: readSentryContext({ context: optional.context }) }, optional);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "payments-stripe",
|
|
3
3
|
"name": "Stripe payments provider",
|
|
4
|
-
"version": "0.7.3-next.
|
|
4
|
+
"version": "0.7.3-next.3",
|
|
5
5
|
"sdkRange": "^0.1.0 || ^1.0.0",
|
|
6
6
|
"engine": 1,
|
|
7
7
|
"tier": "tier-3",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"README.md": "sha256-61af4851370194e9b1a2e2c26227ccb43a3048416a683b348a6ed9ecf240ae13",
|
|
62
62
|
"licenses/_jini-ai_provider-plugins/LICENSE": "sha256-9d95806a26532623360eb84bb17d298f394b55ef73fb4c0796d99b4319b2b0da",
|
|
63
63
|
"licenses/_jini-ai_provider-plugins/NOTICE": "sha256-41f25c5b9af4c8e8e98e2a7c658b3922253c760686e17e0ef7fa003fae83cb95",
|
|
64
|
-
"licenses/_jini-ai_provider-plugins/package-license.json": "sha256-
|
|
64
|
+
"licenses/_jini-ai_provider-plugins/package-license.json": "sha256-250df348be7239cf1543d2d2545fae23d19fe29ededc24a2e1f91eced3fe3acc",
|
|
65
65
|
"server/index.mjs": "sha256-7e073314c783773c0e5b3d09e3072b485884ae568226c0052aa770f827f5257b"
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "xai",
|
|
3
|
+
"name": "xAI provider",
|
|
4
|
+
"version": "0.7.3-next.3",
|
|
5
|
+
"sdkRange": "^0.1.0 || ^1.0.0",
|
|
6
|
+
"engine": 1,
|
|
7
|
+
"tier": "tier-3",
|
|
8
|
+
"extensions": {
|
|
9
|
+
"jini": {
|
|
10
|
+
"id": "jini/xai"
|
|
11
|
+
},
|
|
12
|
+
"open-marketing": {
|
|
13
|
+
"id": "jini/xai"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"capabilities": [
|
|
17
|
+
"providers.register"
|
|
18
|
+
],
|
|
19
|
+
"contributes": {
|
|
20
|
+
"providers": [
|
|
21
|
+
{
|
|
22
|
+
"contract": "xai_routes",
|
|
23
|
+
"id": "xai",
|
|
24
|
+
"contractVersion": 1
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"contract": "media",
|
|
28
|
+
"id": "grok",
|
|
29
|
+
"contractVersion": 1,
|
|
30
|
+
"settings": []
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
"hooks": [],
|
|
35
|
+
"fields": [],
|
|
36
|
+
"integrity": {
|
|
37
|
+
"licenses/_jini-ai_core/LICENSE": "sha256-9d95806a26532623360eb84bb17d298f394b55ef73fb4c0796d99b4319b2b0da",
|
|
38
|
+
"licenses/_jini-ai_core/package-license.json": "sha256-65d8b26f575b68dee57e8afceee983e02c8ee5a8ca9d865aa81af2517bf8b654",
|
|
39
|
+
"licenses/_jini-ai_protocol/LICENSE": "sha256-9d95806a26532623360eb84bb17d298f394b55ef73fb4c0796d99b4319b2b0da",
|
|
40
|
+
"licenses/_jini-ai_protocol/package-license.json": "sha256-99a8de7a66958b5e5362f8dd22fd3cd49af087a28f0b5d507aca01a6297aaca4",
|
|
41
|
+
"licenses/_jini-ai_provider-plugins/LICENSE": "sha256-9d95806a26532623360eb84bb17d298f394b55ef73fb4c0796d99b4319b2b0da",
|
|
42
|
+
"licenses/_jini-ai_provider-plugins/NOTICE": "sha256-41f25c5b9af4c8e8e98e2a7c658b3922253c760686e17e0ef7fa003fae83cb95",
|
|
43
|
+
"licenses/_jini-ai_provider-plugins/package-license.json": "sha256-250df348be7239cf1543d2d2545fae23d19fe29ededc24a2e1f91eced3fe3acc",
|
|
44
|
+
"licenses/zod/LICENSE": "sha256-3f1189b28e3866e0d979968d466b78f813f76827cfdca1fbb124cc0a5c8841f8",
|
|
45
|
+
"licenses/zod/package-license.json": "sha256-1f058089c31eda730028ccdafd8bb40f818b259dbd0c8f204f1eef44976c69fd",
|
|
46
|
+
"server/index.mjs": "sha256-eee41d580d40559fefe5284a3f226870a784dfa7264b94e54db330df1b512c11"
|
|
47
|
+
}
|
|
48
|
+
}
|