diff --git a/RELEASE.rst b/RELEASE.rst index a464e7578a..43edccfdd4 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -1,6 +1,14 @@ Release Notes ============= +Version 0.65.0 +-------------- + +- Update dependency lxml to v6.1.0 [SECURITY] (#3232) +- Update dependency litellm to v1.83.7 [SECURITY] (#3248) +- Add externalLinkProps utility; open external CTA links in new tab only (#3254) +- Add simple nextjs request logger plus fix OTEL resource attributes (#3247) + Version 0.64.5 (Released April 28, 2026) -------------- diff --git a/env/frontend.env b/env/frontend.env index 0ca5e8be54..9b7765130c 100644 --- a/env/frontend.env +++ b/env/frontend.env @@ -44,11 +44,13 @@ GTM_COOKIES_WIN=${GTM_COOKIES_WIN} # OpenTelemetry tracing (server-side only — no NEXT_PUBLIC_ prefix needed) # These are read at runtime by the OTEL NodeSDK and injected by Kubernetes for # deployed environments. Sampling is disabled locally (0.0); set -# OTEL_EXPORTER_OTLP_ENDPOINT and OTEL_TRACES_SAMPLER_ARG in your K8s/Helm -# values to enable tracing in staging/production. +# OTEL_EXPORTER_OTLP_TRACES_ENDPOINT (or OTEL_EXPORTER_OTLP_ENDPOINT) and +# OTEL_TRACES_SAMPLER_ARG in your K8s/Helm values to enable tracing in +# staging/production. # # OTEL_SERVICE_NAME=mit-learn-frontend # OTEL_EXPORTER_OTLP_ENDPOINT=http://alloy.monitoring:4318 +# OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://alloy.monitoring:4318/v1/traces # LOCAL TRACE TESTING (no Grafana Alloy required) # Uncomment both lines below to print every completed span as JSON to the @@ -65,3 +67,7 @@ GTM_COOKIES_WIN=${GTM_COOKIES_WIN} # } # # OTEL_TRACES_EXPORTER=console + +# One JSON log line per completed server request span (method, route, status, +# duration) is emitted by default. Set to "false" to disable. +# NEXT_SERVER_REQUEST_LOGGING=false diff --git a/frontends/jest-shared-setup.ts b/frontends/jest-shared-setup.ts index 5fcd380cd4..25ad241a22 100644 --- a/frontends/jest-shared-setup.ts +++ b/frontends/jest-shared-setup.ts @@ -27,6 +27,7 @@ process.env.NEXT_PUBLIC_MITX_ONLINE_LEGACY_BASE_URL = "http://mitxonline.odl.local:8065" process.env.NEXT_PUBLIC_ORIGIN = "http://test.learn.odl.local:8062" process.env.NEXT_PUBLIC_EMBEDLY_KEY = "fake-embedly-key" +process.env.NEXT_PUBLIC_VERSION = "test-version" // Pulled from the docs - see https://jestjs.io/docs/manual-mocks#mocking-methods-which-are-not-implemented-in-jsdom diff --git a/frontends/main/package.json b/frontends/main/package.json index 0ab72842a4..acccf5759c 100644 --- a/frontends/main/package.json +++ b/frontends/main/package.json @@ -20,6 +20,7 @@ "@mui/material-nextjs": "^6.4.3", "@opentelemetry/api": "^1.9.1", "@opentelemetry/exporter-trace-otlp-http": "^0.214.0", + "@opentelemetry/resources": "^2.6.1", "@opentelemetry/sdk-trace-base": "^2.6.1", "@radix-ui/react-dropdown-menu": "^2.1.16", "@radix-ui/react-popover": "^1.1.15", diff --git a/frontends/main/src/common/utils.test.ts b/frontends/main/src/common/utils.test.ts index 60e4138f07..861a86fb66 100644 --- a/frontends/main/src/common/utils.test.ts +++ b/frontends/main/src/common/utils.test.ts @@ -1,4 +1,41 @@ -import { convertToEmbedUrl } from "./utils" +import invariant from "tiny-invariant" +import { convertToEmbedUrl, externalLinkProps } from "./utils" + +const NEXT_PUBLIC_ORIGIN = process.env.NEXT_PUBLIC_ORIGIN +invariant(NEXT_PUBLIC_ORIGIN, "NEXT_PUBLIC_ORIGIN must be defined") + +describe("externalLinkProps", () => { + it("returns blank-target props for an external URL", () => { + expect(externalLinkProps("https://ocw.mit.edu/courses/123")).toEqual({ + target: "_blank", + rel: "noopener noreferrer", + }) + }) + + it("returns extra props only for external URLs", () => { + const extra = { endIcon: "external" } + expect(externalLinkProps("https://ocw.mit.edu/courses/123", extra)).toEqual( + { + target: "_blank", + rel: "noopener noreferrer", + ...extra, + }, + ) + expect(externalLinkProps("/courses/123", extra)).toEqual({}) + }) + + it("returns empty object for an internal absolute URL", () => { + expect(externalLinkProps(`${NEXT_PUBLIC_ORIGIN}/courses/123`)).toEqual({}) + }) + + it("returns empty object for a relative URL", () => { + expect(externalLinkProps("/courses/123")).toEqual({}) + }) + + it("returns empty object for a hash-only href", () => { + expect(externalLinkProps("#section")).toEqual({}) + }) +}) describe("convertToEmbedUrl", () => { describe("invalid / unsupported input", () => { diff --git a/frontends/main/src/common/utils.ts b/frontends/main/src/common/utils.ts index baa8eb0623..2652f5946c 100644 --- a/frontends/main/src/common/utils.ts +++ b/frontends/main/src/common/utils.ts @@ -136,6 +136,36 @@ function hexToRgba(hex: string, alpha: number): string | undefined { const isOcwPlaylist = (resource: VideoPlaylistResource | undefined) => resource?.offered_by?.code === "ocw" ? true : false +const ORIGIN = process.env.NEXT_PUBLIC_ORIGIN + +/** + * Returns `{ target: "_blank", rel: "noopener noreferrer", ...extra }` for URLs + * whose origin differs from NEXT_PUBLIC_ORIGIN, or `{}` for internal / relative + * URLs. Pass `extra` to include additional props only for external links (e.g., + * an endIcon). + */ +function externalLinkProps(href: string): { + target?: "_blank" + rel?: "noopener noreferrer" +} +function externalLinkProps>( + href: string, + extra: T, +): + | ({ target?: "_blank"; rel?: "noopener noreferrer" } & T) + | Record +function externalLinkProps(href: string, extra?: Record) { + try { + const parsed = new URL(href, ORIGIN) + if (ORIGIN && parsed.origin === new URL(ORIGIN).origin) { + return {} + } + } catch { + return {} + } + return { target: "_blank", rel: "noopener noreferrer", ...extra } +} + export { isInEnum, matchOrganizationBySlug, @@ -144,4 +174,5 @@ export { convertToEmbedUrl, hexToRgba, isOcwPlaylist, + externalLinkProps, } diff --git a/frontends/main/src/instrumentation-node.ts b/frontends/main/src/instrumentation-node.ts index e9d16cab74..4170536032 100644 --- a/frontends/main/src/instrumentation-node.ts +++ b/frontends/main/src/instrumentation-node.ts @@ -4,15 +4,36 @@ // the separate sentry.server.config.ts that was generated by the Sentry wizard. import * as Sentry from "@sentry/nextjs" +import type { Context, Span } from "@opentelemetry/api" import { BatchSpanProcessor, ConsoleSpanExporter, SimpleSpanProcessor, } from "@opentelemetry/sdk-trace-base" -import type { SpanProcessor } from "@opentelemetry/sdk-trace-base" +import type { ReadableSpan, SpanProcessor } from "@opentelemetry/sdk-trace-base" +import type { DetectedResourceAttributes } from "@opentelemetry/resources" import { OTLPTraceExporter } from "@opentelemetry/exporter-trace-otlp-http" +import diagnosticsChannel from "node:diagnostics_channel" +import type { IncomingMessage, ServerResponse } from "node:http" +import { + applyResourceOverrides, + createRequestLogEntry, + detectResourceOverrides, + hasOtlpEndpointConfig, +} from "./otel-utils" import { parseSampleRate } from "./sentry-utils" +// Inject service.version into OTEL_RESOURCE_ATTRIBUTES so the OTEL SDK's +// EnvDetector picks it up alongside any other attributes set via env. +// Simpler than interpolating OTEL_RESOURCE_ATTRIBUTES in ol-infrastructure. +if (process.env.NEXT_PUBLIC_VERSION) { + const prefix = `service.version=${encodeURIComponent(process.env.NEXT_PUBLIC_VERSION)}` + const existing = process.env.OTEL_RESOURCE_ATTRIBUTES + process.env.OTEL_RESOURCE_ATTRIBUTES = existing + ? `${prefix},${existing}` + : prefix +} + /** * Build the list of extra span processors injected into Sentry's OTEL provider. * @@ -26,15 +47,112 @@ import { parseSampleRate } from "./sentry-utils" * completed spans as JSON to stdout. See env/frontend.env for details. */ function buildSpanProcessors(): SpanProcessor[] { - if (process.env.OTEL_EXPORTER_OTLP_ENDPOINT) { - // OTLPTraceExporter reads OTEL_EXPORTER_OTLP_ENDPOINT from env and appends - // /v1/traces automatically. - return [new BatchSpanProcessor(new OTLPTraceExporter())] + const processors: SpanProcessor[] = [] + + const overrides = detectResourceOverrides() + if (Object.keys(overrides).length > 0) { + processors.push(new ResourceAttributeOverrideSpanProcessor(overrides)) + } + + if (hasOtlpEndpointConfig(process.env)) { + processors.push(new BatchSpanProcessor(new OTLPTraceExporter())) + } else if (process.env.OTEL_TRACES_EXPORTER === "console") { + processors.push(new SimpleSpanProcessor(new ConsoleSpanExporter())) + } + + return processors +} + +/** + * Apply resource attributes from OTEL_SERVICE_NAME and OTEL_RESOURCE_ATTRIBUTES + * to every span at end time. Sentry hard-codes service.name to "node" and + * ignores OTEL_RESOURCE_ATTRIBUTES on its internal resource, so without this + * the spans we ship to Alloy/Tempo would be misattributed. + * + * See https://github.com/getsentry/sentry-javascript/issues/20502 + */ +class ResourceAttributeOverrideSpanProcessor implements SpanProcessor { + private readonly overrides: DetectedResourceAttributes + + constructor(overrides: DetectedResourceAttributes) { + this.overrides = overrides + } + + onStart(_span: Span, _parentContext: Context): void { + // no-op + } + + onEnd(span: ReadableSpan): void { + applyResourceOverrides(span, this.overrides) } - if (process.env.OTEL_TRACES_EXPORTER === "console") { - return [new SimpleSpanProcessor(new ConsoleSpanExporter())] + + shutdown(): Promise { + return Promise.resolve() + } + + forceFlush(): Promise { + return Promise.resolve() } - return [] +} + +declare global { + // eslint-disable-next-line no-var + var __NEXT_REQUEST_LOGGER_SUBSCRIBED__: boolean | undefined +} + +// Skip Next-internal paths (static chunks, HMR, dev endpoints) and the +// favicon. These never get OTEL traces (Sentry's HttpInstrumentation already +// filters them) so they're noise for the OTEL-coverage diagnostic, and in +// prod they mostly hit the CDN anyway. RSC fetches go to real route paths +// (e.g. /courses?_rsc=...) and are not filtered. +const NEXT_INTERNAL_PATH = /^\/(_next\/|__nextjs_|favicon\.ico)/ + +/** + * Subscribe to Node's built-in HTTP server diagnostics channels and emit a + * structured JSON log line per completed request. This runs independently of + * the OTEL sampler — every request is logged regardless of OTEL_TRACES_SAMPLER_ARG + * — so the logs can be used as ground truth for verifying OTEL trace coverage. + * + * Enabled by default; set NEXT_SERVER_REQUEST_LOGGING=false to disable. + * + * The channels (`http.server.request.start`, `http.server.response.finish`) + * are marked Experimental in Node 24 and 25, but are the same surface that + * Sentry/OTEL/Datadog subscribe to internally; the API has been stable in + * practice for years. + * + * Guarded against double-subscription via a globalThis flag — instrumentation + * hooks can be re-evaluated on dev reloads or worker restarts, and stacked + * subscriptions would duplicate every log line. + */ +function subscribeRequestLogger(): void { + if (globalThis.__NEXT_REQUEST_LOGGER_SUBSCRIBED__) return + globalThis.__NEXT_REQUEST_LOGGER_SUBSCRIBED__ = true + + const startTimes = new WeakMap() + + diagnosticsChannel.subscribe("http.server.request.start", (message) => { + const { request } = message as { request: IncomingMessage } + startTimes.set(request, process.hrtime.bigint()) + }) + + diagnosticsChannel.subscribe("http.server.response.finish", (message) => { + const { request, response } = message as { + request: IncomingMessage + response: ServerResponse + } + const start = startTimes.get(request) + if (start === undefined) return + startTimes.delete(request) + if (request.url && NEXT_INTERNAL_PATH.test(request.url)) return + const durationMs = Number((process.hrtime.bigint() - start) / 1_000_000n) + console.info( + JSON.stringify(createRequestLogEntry({ request, response, durationMs })), + ) + }) +} + +if (process.env.NEXT_SERVER_REQUEST_LOGGING !== "false") { + subscribeRequestLogger() } // OTEL_TRACES_SAMPLER_ARG controls the OTEL sampler rate — i.e. what fraction diff --git a/frontends/main/src/otel-utils.test.ts b/frontends/main/src/otel-utils.test.ts new file mode 100644 index 0000000000..30ee334e0d --- /dev/null +++ b/frontends/main/src/otel-utils.test.ts @@ -0,0 +1,186 @@ +import type { IncomingMessage, ServerResponse } from "node:http" +import type { ReadableSpan } from "@opentelemetry/sdk-trace-base" +import { + applyResourceOverrides, + createRequestLogEntry, + detectResourceOverrides, + hasOtlpEndpointConfig, +} from "./otel-utils" + +function makeResource( + attributes: ReadableSpan["resource"]["attributes"] = {}, +): ReadableSpan["resource"] { + const resource: ReadableSpan["resource"] = { + attributes, + merge(other) { + return other ?? resource + }, + getRawAttributes() { + return Object.entries(resource.attributes) + }, + } + return resource +} + +const makeReadableSpan = ( + overrides: Partial = {}, +): ReadableSpan => ({ + name: "test span", + kind: 0, + spanContext: () => ({ + traceId: "trace-id", + spanId: "span-id", + traceFlags: 1, + }), + startTime: [0, 0], + endTime: [0, 0], + status: { code: 0 }, + attributes: {}, + links: [], + events: [], + duration: [0, 0], + ended: true, + resource: makeResource(), + instrumentationScope: { name: "test-scope", version: "1.0.0" }, + droppedAttributesCount: 0, + droppedEventsCount: 0, + droppedLinksCount: 0, + ...overrides, +}) + +describe("createRequestLogEntry", () => { + it("builds a log entry from request and response", () => { + const request = { method: "GET", url: "/courses" } as IncomingMessage + const response = { statusCode: 200 } as ServerResponse + + expect( + createRequestLogEntry({ request, response, durationMs: 1250 }), + ).toEqual({ + message: "next_request", + method: "GET", + route: "/courses", + query: null, + statusCode: 200, + durationMs: 1250, + traceId: null, + spanId: null, + version: "test-version", + }) + }) + + it("splits route and query when the URL has a query string", () => { + const request = { + method: "POST", + url: "/api/foo?bar=baz&qux=1", + } as IncomingMessage + const response = { statusCode: 201 } as ServerResponse + + const entry = createRequestLogEntry({ request, response, durationMs: 5 }) + expect(entry.route).toBe("/api/foo") + expect(entry.query).toBe("bar=baz&qux=1") + }) + + it("falls back to UNKNOWN when method is missing", () => { + const request = { url: "/" } as IncomingMessage + const response = { statusCode: 500 } as ServerResponse + + expect( + createRequestLogEntry({ request, response, durationMs: 1 }).method, + ).toBe("UNKNOWN") + }) +}) + +describe("applyResourceOverrides", () => { + it("copies overrides onto the span resource", () => { + const span = makeReadableSpan({ + resource: makeResource({ + "service.name": "node", + "service.namespace": "sentry", + }), + }) + + applyResourceOverrides(span, { + "service.name": "learn-nextjs", + "deployment.environment.name": "prod", + }) + + expect(span.resource.attributes["service.name"]).toBe("learn-nextjs") + expect(span.resource.attributes["service.namespace"]).toBe("sentry") + expect(span.resource.attributes["deployment.environment.name"]).toBe("prod") + }) + + it("leaves the resource unchanged when overrides is empty", () => { + const span = makeReadableSpan({ + resource: makeResource({ "service.name": "node" }), + }) + + applyResourceOverrides(span, {}) + + expect(span.resource.attributes["service.name"]).toBe("node") + }) + + it("skips non-string values defensively", () => { + const span = makeReadableSpan({ + resource: makeResource({ "service.name": "node" }), + }) + + applyResourceOverrides(span, { + "service.name": "learn-nextjs", + "broken.promise": Promise.resolve("ignored"), + "broken.array": ["a", "b"], + }) + + expect(span.resource.attributes["service.name"]).toBe("learn-nextjs") + expect(span.resource.attributes["broken.promise"]).toBeUndefined() + expect(span.resource.attributes["broken.array"]).toBeUndefined() + }) +}) + +describe("detectResourceOverrides", () => { + const originalEnv = { ...process.env } + + afterEach(() => { + process.env = { ...originalEnv } + }) + + it("parses OTEL_SERVICE_NAME and OTEL_RESOURCE_ATTRIBUTES via the SDK", () => { + process.env.OTEL_SERVICE_NAME = "app-name" + process.env.OTEL_RESOURCE_ATTRIBUTES = + "service.namespace=learn,service.version=1.2.3" + + expect(detectResourceOverrides()).toEqual({ + "service.name": "app-name", + "service.namespace": "learn", + "service.version": "1.2.3", + }) + }) + + it("percent-decodes values per the OTEL spec", () => { + process.env.OTEL_RESOURCE_ATTRIBUTES = + "deployment.environment.name=us%2Ceast,service.version=1%3D2" + delete process.env.OTEL_SERVICE_NAME + + expect(detectResourceOverrides()).toEqual({ + "deployment.environment.name": "us,east", + "service.version": "1=2", + }) + }) + + it("returns an empty object when no env vars are set", () => { + delete process.env.OTEL_SERVICE_NAME + delete process.env.OTEL_RESOURCE_ATTRIBUTES + + expect(detectResourceOverrides()).toEqual({}) + }) +}) + +describe("hasOtlpEndpointConfig", () => { + it("returns true when only OTEL_EXPORTER_OTLP_TRACES_ENDPOINT is set", () => { + expect( + hasOtlpEndpointConfig({ + OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: + "http://alloy.monitoring:4318/v1/traces", + }), + ).toBe(true) + }) +}) diff --git a/frontends/main/src/otel-utils.ts b/frontends/main/src/otel-utils.ts new file mode 100644 index 0000000000..7cf3369d2b --- /dev/null +++ b/frontends/main/src/otel-utils.ts @@ -0,0 +1,97 @@ +import { isSpanContextValid, trace } from "@opentelemetry/api" +import type { IncomingMessage, ServerResponse } from "node:http" +import type { ReadableSpan } from "@opentelemetry/sdk-trace-base" +import { envDetector } from "@opentelemetry/resources" +import type { DetectedResourceAttributes } from "@opentelemetry/resources" + +export type RequestLogEntry = { + message: "next_request" + method: string + route: string + query: string | null + statusCode: number + durationMs: number + traceId: string | null + spanId: string | null + version: string | null +} + +const APP_VERSION = process.env.NEXT_PUBLIC_VERSION ?? null + +type OtelEnvSubset = Readonly> + +function getNonEmptyEnvValue(value: string | undefined): string | undefined { + const trimmed = value?.trim() + return trimmed ? trimmed : undefined +} + +export function hasOtlpEndpointConfig(env: OtelEnvSubset): boolean { + return Boolean( + getNonEmptyEnvValue(env.OTEL_EXPORTER_OTLP_ENDPOINT) || + getNonEmptyEnvValue(env.OTEL_EXPORTER_OTLP_TRACES_ENDPOINT), + ) +} + +/** + * Read OTEL_SERVICE_NAME and OTEL_RESOURCE_ATTRIBUTES from process.env using + * the OTEL SDK's spec-compliant parser. Handles percent-decoding, length + * checks, and merges OTEL_SERVICE_NAME into service.name. + */ +export function detectResourceOverrides(): DetectedResourceAttributes { + return envDetector.detect().attributes ?? {} +} + +/** + * Build a structured log entry for a finished HTTP request. The traceId/spanId + * come from the active OTEL context if one is present — a null traceId in the + * log is itself the diagnostic signal that the request was not traced. + */ +export function createRequestLogEntry({ + request, + response, + durationMs, +}: { + request: IncomingMessage + response: ServerResponse + durationMs: number +}): RequestLogEntry { + const ctx = trace.getActiveSpan()?.spanContext() + const hasTrace = ctx ? isSpanContextValid(ctx) : false + // Split the URL into path + query so the path can group cleanly while the + // query stays available for filtering (e.g. _rsc=... marks an RSC fetch). + const url = request.url ?? "" + const queryIdx = url.indexOf("?") + const route = queryIdx === -1 ? url : url.slice(0, queryIdx) + const query = queryIdx === -1 ? null : url.slice(queryIdx + 1) + return { + message: "next_request", + method: request.method ?? "UNKNOWN", + route, + query, + statusCode: response.statusCode, + durationMs, + traceId: hasTrace && ctx ? ctx.traceId : null, + spanId: hasTrace && ctx ? ctx.spanId : null, + version: APP_VERSION, + } +} + +/** + * Copy detected resource attributes onto a span's resource. Used to work + * around Sentry's hardcoded service.name (and friends) — see + * https://github.com/getsentry/sentry-javascript/issues/20502. + * + * EnvDetector returns AttributeValue | Promise | undefined, + * but in practice OTEL_SERVICE_NAME and OTEL_RESOURCE_ATTRIBUTES yield only + * strings; non-strings are skipped defensively. + */ +export function applyResourceOverrides( + span: ReadableSpan, + overrides: DetectedResourceAttributes, +): void { + for (const [key, value] of Object.entries(overrides)) { + if (typeof value === "string") { + span.resource.attributes[key] = value + } + } +} diff --git a/frontends/main/src/page-components/LearningResourceExpanded/CallToActionSection.tsx b/frontends/main/src/page-components/LearningResourceExpanded/CallToActionSection.tsx index 091f5b299d..dcbbcd5e89 100644 --- a/frontends/main/src/page-components/LearningResourceExpanded/CallToActionSection.tsx +++ b/frontends/main/src/page-components/LearningResourceExpanded/CallToActionSection.tsx @@ -44,6 +44,7 @@ import { } from "@/common/urls" import { DisplayModeEnum } from "@mitodl/mitxonline-api-axios/v2" import { FeatureFlags } from "@/common/feature_flags" +import { externalLinkProps } from "@/common/utils" import invariant from "tiny-invariant" const NEXT_PUBLIC_ORIGIN = process.env.NEXT_PUBLIC_ORIGIN @@ -428,9 +429,10 @@ const CallToActionSection = ({ , + })} size="medium" - endIcon={} href={url} onClick={() => { if (process.env.NEXT_PUBLIC_POSTHOG_API_KEY) { diff --git a/main/settings.py b/main/settings.py index d6a7ddb201..2d36ae984d 100644 --- a/main/settings.py +++ b/main/settings.py @@ -35,7 +35,7 @@ from main.settings_pluggy import * # noqa: F403 from openapi.settings_spectacular import open_spectacular_settings -VERSION = "0.64.5" +VERSION = "0.65.0" log = logging.getLogger() diff --git a/pyproject.toml b/pyproject.toml index 11f9d3ca72..10b1bab7fb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,7 +57,7 @@ dependencies = [ "langchain>=0.3.11,<0.4", "langchain-experimental>=0.3.4,<0.4", "langchain-openai>=0.3.2,<0.4", - "litellm==1.83.0", + "litellm==1.83.7", "llama-index>=0.14.0,<0.15", "llama-index-llms-openai>=0.6.0,<0.7", "lxml>=6.0.0,<7", diff --git a/uv.lock b/uv.lock index 657218ae6c..dc5222734e 100644 --- a/uv.lock +++ b/uv.lock @@ -16,7 +16,7 @@ wheels = [ [[package]] name = "aiohttp" -version = "3.13.3" +version = "3.13.5" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "aiohappyeyeballs" }, @@ -27,25 +27,25 @@ dependencies = [ { name = "propcache" }, { name = "yarl" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/50/42/32cf8e7704ceb4481406eb87161349abb46a57fee3f008ba9cb610968646/aiohttp-3.13.3.tar.gz", hash = "sha256:a949eee43d3782f2daae4f4a2819b2cb9b0c5d3b7f7a927067cc84dafdbb9f88", size = 7844556, upload-time = "2026-01-03T17:33:05.204Z" } +sdist = { url = "https://files.pythonhosted.org/packages/77/9a/152096d4808df8e4268befa55fba462f440f14beab85e8ad9bf990516918/aiohttp-3.13.5.tar.gz", hash = "sha256:9d98cc980ecc96be6eb4c1994ce35d28d8b1f5e5208a23b421187d1209dbb7d1", size = 7858271, upload-time = "2026-03-31T22:01:03.343Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/a0/be/4fc11f202955a69e0db803a12a062b8379c970c7c84f4882b6da17337cc1/aiohttp-3.13.3-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:b903a4dfee7d347e2d87697d0713be59e0b87925be030c9178c5faa58ea58d5c", size = 739732, upload-time = "2026-01-03T17:30:14.23Z" }, - { url = "https://files.pythonhosted.org/packages/97/2c/621d5b851f94fa0bb7430d6089b3aa970a9d9b75196bc93bb624b0db237a/aiohttp-3.13.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:a45530014d7a1e09f4a55f4f43097ba0fd155089372e105e4bff4ca76cb1b168", size = 494293, upload-time = "2026-01-03T17:30:15.96Z" }, - { url = "https://files.pythonhosted.org/packages/5d/43/4be01406b78e1be8320bb8316dc9c42dbab553d281c40364e0f862d5661c/aiohttp-3.13.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:27234ef6d85c914f9efeb77ff616dbf4ad2380be0cda40b4db086ffc7ddd1b7d", size = 493533, upload-time = "2026-01-03T17:30:17.431Z" }, - { url = "https://files.pythonhosted.org/packages/8d/a8/5a35dc56a06a2c90d4742cbf35294396907027f80eea696637945a106f25/aiohttp-3.13.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d32764c6c9aafb7fb55366a224756387cd50bfa720f32b88e0e6fa45b27dcf29", size = 1737839, upload-time = "2026-01-03T17:30:19.422Z" }, - { url = "https://files.pythonhosted.org/packages/bf/62/4b9eeb331da56530bf2e198a297e5303e1c1ebdceeb00fe9b568a65c5a0c/aiohttp-3.13.3-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:b1a6102b4d3ebc07dad44fbf07b45bb600300f15b552ddf1851b5390202ea2e3", size = 1703932, upload-time = "2026-01-03T17:30:21.756Z" }, - { url = "https://files.pythonhosted.org/packages/7c/f6/af16887b5d419e6a367095994c0b1332d154f647e7dc2bd50e61876e8e3d/aiohttp-3.13.3-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c014c7ea7fb775dd015b2d3137378b7be0249a448a1612268b5a90c2d81de04d", size = 1771906, upload-time = "2026-01-03T17:30:23.932Z" }, - { url = "https://files.pythonhosted.org/packages/ce/83/397c634b1bcc24292fa1e0c7822800f9f6569e32934bdeef09dae7992dfb/aiohttp-3.13.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2b8d8ddba8f95ba17582226f80e2de99c7a7948e66490ef8d947e272a93e9463", size = 1871020, upload-time = "2026-01-03T17:30:26Z" }, - { url = "https://files.pythonhosted.org/packages/86/f6/a62cbbf13f0ac80a70f71b1672feba90fdb21fd7abd8dbf25c0105fb6fa3/aiohttp-3.13.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9ae8dd55c8e6c4257eae3a20fd2c8f41edaea5992ed67156642493b8daf3cecc", size = 1755181, upload-time = "2026-01-03T17:30:27.554Z" }, - { url = "https://files.pythonhosted.org/packages/0a/87/20a35ad487efdd3fba93d5843efdfaa62d2f1479eaafa7453398a44faf13/aiohttp-3.13.3-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:01ad2529d4b5035578f5081606a465f3b814c542882804e2e8cda61adf5c71bf", size = 1561794, upload-time = "2026-01-03T17:30:29.254Z" }, - { url = "https://files.pythonhosted.org/packages/de/95/8fd69a66682012f6716e1bc09ef8a1a2a91922c5725cb904689f112309c4/aiohttp-3.13.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:bb4f7475e359992b580559e008c598091c45b5088f28614e855e42d39c2f1033", size = 1697900, upload-time = "2026-01-03T17:30:31.033Z" }, - { url = "https://files.pythonhosted.org/packages/e5/66/7b94b3b5ba70e955ff597672dad1691333080e37f50280178967aff68657/aiohttp-3.13.3-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:c19b90316ad3b24c69cd78d5c9b4f3aa4497643685901185b65166293d36a00f", size = 1728239, upload-time = "2026-01-03T17:30:32.703Z" }, - { url = "https://files.pythonhosted.org/packages/47/71/6f72f77f9f7d74719692ab65a2a0252584bf8d5f301e2ecb4c0da734530a/aiohttp-3.13.3-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:96d604498a7c782cb15a51c406acaea70d8c027ee6b90c569baa6e7b93073679", size = 1740527, upload-time = "2026-01-03T17:30:34.695Z" }, - { url = "https://files.pythonhosted.org/packages/fa/b4/75ec16cbbd5c01bdaf4a05b19e103e78d7ce1ef7c80867eb0ace42ff4488/aiohttp-3.13.3-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:084911a532763e9d3dd95adf78a78f4096cd5f58cdc18e6fdbc1b58417a45423", size = 1554489, upload-time = "2026-01-03T17:30:36.864Z" }, - { url = "https://files.pythonhosted.org/packages/52/8f/bc518c0eea29f8406dcf7ed1f96c9b48e3bc3995a96159b3fc11f9e08321/aiohttp-3.13.3-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:7a4a94eb787e606d0a09404b9c38c113d3b099d508021faa615d70a0131907ce", size = 1767852, upload-time = "2026-01-03T17:30:39.433Z" }, - { url = "https://files.pythonhosted.org/packages/9d/f2/a07a75173124f31f11ea6f863dc44e6f09afe2bca45dd4e64979490deab1/aiohttp-3.13.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:87797e645d9d8e222e04160ee32aa06bc5c163e8499f24db719e7852ec23093a", size = 1722379, upload-time = "2026-01-03T17:30:41.081Z" }, - { url = "https://files.pythonhosted.org/packages/3c/4a/1a3fee7c21350cac78e5c5cef711bac1b94feca07399f3d406972e2d8fcd/aiohttp-3.13.3-cp312-cp312-win32.whl", hash = "sha256:b04be762396457bef43f3597c991e192ee7da460a4953d7e647ee4b1c28e7046", size = 428253, upload-time = "2026-01-03T17:30:42.644Z" }, - { url = "https://files.pythonhosted.org/packages/d9/b7/76175c7cb4eb73d91ad63c34e29fc4f77c9386bba4a65b53ba8e05ee3c39/aiohttp-3.13.3-cp312-cp312-win_amd64.whl", hash = "sha256:e3531d63d3bdfa7e3ac5e9b27b2dd7ec9df3206a98e0b3445fa906f233264c57", size = 455407, upload-time = "2026-01-03T17:30:44.195Z" }, + { url = "https://files.pythonhosted.org/packages/be/6f/353954c29e7dcce7cf00280a02c75f30e133c00793c7a2ed3776d7b2f426/aiohttp-3.13.5-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:023ecba036ddd840b0b19bf195bfae970083fd7024ce1ac22e9bba90464620e9", size = 748876, upload-time = "2026-03-31T21:57:36.319Z" }, + { url = "https://files.pythonhosted.org/packages/f5/1b/428a7c64687b3b2e9cd293186695affc0e1e54a445d0361743b231f11066/aiohttp-3.13.5-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:15c933ad7920b7d9a20de151efcd05a6e38302cbf0e10c9b2acb9a42210a2416", size = 499557, upload-time = "2026-03-31T21:57:38.236Z" }, + { url = "https://files.pythonhosted.org/packages/29/47/7be41556bfbb6917069d6a6634bb7dd5e163ba445b783a90d40f5ac7e3a7/aiohttp-3.13.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ab2899f9fa2f9f741896ebb6fa07c4c883bfa5c7f2ddd8cf2aafa86fa981b2d2", size = 500258, upload-time = "2026-03-31T21:57:39.923Z" }, + { url = "https://files.pythonhosted.org/packages/67/84/c9ecc5828cb0b3695856c07c0a6817a99d51e2473400f705275a2b3d9239/aiohttp-3.13.5-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a60eaa2d440cd4707696b52e40ed3e2b0f73f65be07fd0ef23b6b539c9c0b0b4", size = 1749199, upload-time = "2026-03-31T21:57:41.938Z" }, + { url = "https://files.pythonhosted.org/packages/f0/d3/3c6d610e66b495657622edb6ae7c7fd31b2e9086b4ec50b47897ad6042a9/aiohttp-3.13.5-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:55b3bdd3292283295774ab585160c4004f4f2f203946997f49aac032c84649e9", size = 1721013, upload-time = "2026-03-31T21:57:43.904Z" }, + { url = "https://files.pythonhosted.org/packages/49/a0/24409c12217456df0bae7babe3b014e460b0b38a8e60753d6cb339f6556d/aiohttp-3.13.5-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c2b2355dc094e5f7d45a7bb262fe7207aa0460b37a0d87027dcf21b5d890e7d5", size = 1781501, upload-time = "2026-03-31T21:57:46.285Z" }, + { url = "https://files.pythonhosted.org/packages/98/9d/b65ec649adc5bccc008b0957a9a9c691070aeac4e41cea18559fef49958b/aiohttp-3.13.5-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b38765950832f7d728297689ad78f5f2cf79ff82487131c4d26fe6ceecdc5f8e", size = 1878981, upload-time = "2026-03-31T21:57:48.734Z" }, + { url = "https://files.pythonhosted.org/packages/57/d8/8d44036d7eb7b6a8ec4c5494ea0c8c8b94fbc0ed3991c1a7adf230df03bf/aiohttp-3.13.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b18f31b80d5a33661e08c89e202edabf1986e9b49c42b4504371daeaa11b47c1", size = 1767934, upload-time = "2026-03-31T21:57:51.171Z" }, + { url = "https://files.pythonhosted.org/packages/31/04/d3f8211f273356f158e3464e9e45484d3fb8c4ce5eb2f6fe9405c3273983/aiohttp-3.13.5-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:33add2463dde55c4f2d9635c6ab33ce154e5ecf322bd26d09af95c5f81cfa286", size = 1566671, upload-time = "2026-03-31T21:57:53.326Z" }, + { url = "https://files.pythonhosted.org/packages/41/db/073e4ebe00b78e2dfcacff734291651729a62953b48933d765dc513bf798/aiohttp-3.13.5-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:327cc432fdf1356fb4fbc6fe833ad4e9f6aacb71a8acaa5f1855e4b25910e4a9", size = 1705219, upload-time = "2026-03-31T21:57:55.385Z" }, + { url = "https://files.pythonhosted.org/packages/48/45/7dfba71a2f9fd97b15c95c06819de7eb38113d2cdb6319669195a7d64270/aiohttp-3.13.5-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:7c35b0bf0b48a70b4cb4fc5d7bed9b932532728e124874355de1a0af8ec4bc88", size = 1743049, upload-time = "2026-03-31T21:57:57.341Z" }, + { url = "https://files.pythonhosted.org/packages/18/71/901db0061e0f717d226386a7f471bb59b19566f2cae5f0d93874b017271f/aiohttp-3.13.5-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:df23d57718f24badef8656c49743e11a89fd6f5358fa8a7b96e728fda2abf7d3", size = 1749557, upload-time = "2026-03-31T21:57:59.626Z" }, + { url = "https://files.pythonhosted.org/packages/08/d5/41eebd16066e59cd43728fe74bce953d7402f2b4ddfdfef2c0e9f17ca274/aiohttp-3.13.5-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:02e048037a6501a5ec1f6fc9736135aec6eb8a004ce48838cb951c515f32c80b", size = 1558931, upload-time = "2026-03-31T21:58:01.972Z" }, + { url = "https://files.pythonhosted.org/packages/30/e6/4a799798bf05740e66c3a1161079bda7a3dd8e22ca392481d7a7f9af82a6/aiohttp-3.13.5-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:31cebae8b26f8a615d2b546fee45d5ffb76852ae6450e2a03f42c9102260d6fe", size = 1774125, upload-time = "2026-03-31T21:58:04.007Z" }, + { url = "https://files.pythonhosted.org/packages/84/63/7749337c90f92bc2cb18f9560d67aa6258c7060d1397d21529b8004fcf6f/aiohttp-3.13.5-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:888e78eb5ca55a615d285c3c09a7a91b42e9dd6fc699b166ebd5dee87c9ccf14", size = 1732427, upload-time = "2026-03-31T21:58:06.337Z" }, + { url = "https://files.pythonhosted.org/packages/98/de/cf2f44ff98d307e72fb97d5f5bbae3bfcb442f0ea9790c0bf5c5c2331404/aiohttp-3.13.5-cp312-cp312-win32.whl", hash = "sha256:8bd3ec6376e68a41f9f95f5ed170e2fcf22d4eb27a1f8cb361d0508f6e0557f3", size = 433534, upload-time = "2026-03-31T21:58:08.712Z" }, + { url = "https://files.pythonhosted.org/packages/aa/ca/eadf6f9c8fa5e31d40993e3db153fb5ed0b11008ad5d9de98a95045bed84/aiohttp-3.13.5-cp312-cp312-win_amd64.whl", hash = "sha256:110e448e02c729bcebb18c60b9214a87ba33bac4a9fa5e9a5f139938b56c6cb1", size = 460446, upload-time = "2026-03-31T21:58:10.945Z" }, ] [[package]] @@ -443,14 +443,14 @@ wheels = [ [[package]] name = "click" -version = "8.3.1" +version = "8.1.8" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "colorama", marker = "sys_platform == 'win32'" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/3d/fa/656b739db8587d7b5dfa22e22ed02566950fbfbcdc20311993483657a5c0/click-8.3.1.tar.gz", hash = "sha256:12ff4785d337a1bb490bb7e9c2b1ee5da3112e94a8622f26a6c77f5d2fc6842a", size = 295065, upload-time = "2025-11-15T20:45:42.706Z" } +sdist = { url = "https://files.pythonhosted.org/packages/b9/2e/0090cbf739cee7d23781ad4b89a9894a41538e4fcf4c31dcdd705b78eb8b/click-8.1.8.tar.gz", hash = "sha256:ed53c9d8990d83c2a27deae68e4ee337473f6330c040a31d4225c9574d16096a", size = 226593, upload-time = "2024-12-21T18:38:44.339Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/98/78/01c019cdb5d6498122777c1a43056ebb3ebfeef2076d9d026bfe15583b2b/click-8.3.1-py3-none-any.whl", hash = "sha256:981153a64e25f12d547d3426c367a4857371575ee7ad18df2a6183ab0545b2a6", size = 108274, upload-time = "2025-11-15T20:45:41.139Z" }, + { url = "https://files.pythonhosted.org/packages/7e/d4/7ebdbd03970677812aac39c869717059dbb71a4cfc033ca6e5221787892c/click-8.1.8-py3-none-any.whl", hash = "sha256:63c132bbbed01578a06712a2d1f497bb62d9c1c0d329b7903a866228027263b2", size = 98188, upload-time = "2024-12-21T18:38:41.666Z" }, ] [[package]] @@ -1713,14 +1713,14 @@ wheels = [ [[package]] name = "importlib-metadata" -version = "8.7.1" +version = "8.5.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "zipp" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/f3/49/3b30cad09e7771a4982d9975a8cbf64f00d4a1ececb53297f1d9a7be1b10/importlib_metadata-8.7.1.tar.gz", hash = "sha256:49fef1ae6440c182052f407c8d34a68f72efc36db9ca90dc0113398f2fdde8bb", size = 57107, upload-time = "2025-12-21T10:00:19.278Z" } +sdist = { url = "https://files.pythonhosted.org/packages/cd/12/33e59336dca5be0c398a7482335911a33aa0e20776128f038019f1a95f1b/importlib_metadata-8.5.0.tar.gz", hash = "sha256:71522656f0abace1d072b9e5481a48f07c138e00f079c38c8f883823f9c26bd7", size = 55304, upload-time = "2024-09-11T14:56:08.937Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/fa/5e/f8e9a1d23b9c20a551a8a02ea3637b4642e22c2626e3a13a9a29cdea99eb/importlib_metadata-8.7.1-py3-none-any.whl", hash = "sha256:5a1f80bf1daa489495071efbb095d75a634cf28a8bc299581244063b53176151", size = 27865, upload-time = "2025-12-21T10:00:18.329Z" }, + { url = "https://files.pythonhosted.org/packages/a0/d9/a1e041c5e7caa9a05c925f4bdbdfb7f006d1f74996af53467bc394c97be7/importlib_metadata-8.5.0-py3-none-any.whl", hash = "sha256:45e54197d28b7a7f1559e60b95e7c567032b602131fbd588f1497f47880aa68b", size = 26514, upload-time = "2024-09-11T14:56:07.019Z" }, ] [[package]] @@ -1907,7 +1907,7 @@ wheels = [ [[package]] name = "jsonschema" -version = "4.26.0" +version = "4.23.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "attrs" }, @@ -1915,9 +1915,9 @@ dependencies = [ { name = "referencing" }, { name = "rpds-py" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/b3/fc/e067678238fa451312d4c62bf6e6cf5ec56375422aee02f9cb5f909b3047/jsonschema-4.26.0.tar.gz", hash = "sha256:0c26707e2efad8aa1bfc5b7ce170f3fccc2e4918ff85989ba9ffa9facb2be326", size = 366583, upload-time = "2026-01-07T13:41:07.246Z" } +sdist = { url = "https://files.pythonhosted.org/packages/38/2e/03362ee4034a4c917f697890ccd4aec0800ccf9ded7f511971c75451deec/jsonschema-4.23.0.tar.gz", hash = "sha256:d71497fef26351a33265337fa77ffeb82423f3ea21283cd9467bb03999266bc4", size = 325778, upload-time = "2024-07-08T18:40:05.546Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/69/90/f63fb5873511e014207a475e2bb4e8b2e570d655b00ac19a9a0ca0a385ee/jsonschema-4.26.0-py3-none-any.whl", hash = "sha256:d489f15263b8d200f8387e64b4c3a75f06629559fb73deb8fdfb525f2dab50ce", size = 90630, upload-time = "2026-01-07T13:41:05.306Z" }, + { url = "https://files.pythonhosted.org/packages/69/4a/4f9dbeb84e8850557c02365a0eee0649abe5eb1d84af92a25731c6c0f922/jsonschema-4.23.0-py3-none-any.whl", hash = "sha256:fbadb6f8b144a8f8cf9f0b89ba94501d143e50411a1278633f56a7acf7fd5566", size = 88462, upload-time = "2024-07-08T18:40:00.165Z" }, ] [[package]] @@ -2115,7 +2115,7 @@ wheels = [ [[package]] name = "litellm" -version = "1.83.0" +version = "1.83.7" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "aiohttp" }, @@ -2131,9 +2131,9 @@ dependencies = [ { name = "tiktoken" }, { name = "tokenizers" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/22/92/6ce9737554994ca8e536e5f4f6a87cc7c4774b656c9eb9add071caf7d54b/litellm-1.83.0.tar.gz", hash = "sha256:860bebc76c4bb27b4cf90b4a77acd66dba25aced37e3db98750de8a1766bfb7a", size = 17333062, upload-time = "2026-03-31T05:08:25.331Z" } +sdist = { url = "https://files.pythonhosted.org/packages/77/2b/b58bf6bbcbc3d0e55d0a84fdf9128e5b1436517f46fce89b1cd8948ebb81/litellm-1.83.7.tar.gz", hash = "sha256:e2f2cb99df2e2b2eab63f1354faa45c88dd7c8d40c18eb648afb1b349c689633", size = 17791694, upload-time = "2026-04-13T17:35:01.606Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/19/2c/a670cc050fcd6f45c6199eb99e259c73aea92edba8d5c2fc1b3686d36217/litellm-1.83.0-py3-none-any.whl", hash = "sha256:88c536d339248f3987571493015784671ba3f193a328e1ea6780dbebaa2094a8", size = 15610306, upload-time = "2026-03-31T05:08:21.987Z" }, + { url = "https://files.pythonhosted.org/packages/75/80/caeb4cdcad96451ba83ad3ba2a9da08b1e1a915fa845c489f56ea044488b/litellm-1.83.7-py3-none-any.whl", hash = "sha256:5784a1d9a9a4a8acd6ca1e347003a5e2e1b3c749b4d41e7da4904577adade111", size = 16069807, upload-time = "2026-04-13T17:34:58.36Z" }, ] [[package]] @@ -2376,28 +2376,28 @@ wheels = [ [[package]] name = "lxml" -version = "6.0.2" +version = "6.1.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/aa/88/262177de60548e5a2bfc46ad28232c9e9cbde697bd94132aeb80364675cb/lxml-6.0.2.tar.gz", hash = "sha256:cd79f3367bd74b317dda655dc8fcfa304d9eb6e4fb06b7168c5cf27f96e0cd62", size = 4073426, upload-time = "2025-09-22T04:04:59.287Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/f3/c8/8ff2bc6b920c84355146cd1ab7d181bc543b89241cfb1ebee824a7c81457/lxml-6.0.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:a59f5448ba2ceccd06995c95ea59a7674a10de0810f2ce90c9006f3cbc044456", size = 8661887, upload-time = "2025-09-22T04:01:17.265Z" }, - { url = "https://files.pythonhosted.org/packages/37/6f/9aae1008083bb501ef63284220ce81638332f9ccbfa53765b2b7502203cf/lxml-6.0.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:e8113639f3296706fbac34a30813929e29247718e88173ad849f57ca59754924", size = 4667818, upload-time = "2025-09-22T04:01:19.688Z" }, - { url = "https://files.pythonhosted.org/packages/f1/ca/31fb37f99f37f1536c133476674c10b577e409c0a624384147653e38baf2/lxml-6.0.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:a8bef9b9825fa8bc816a6e641bb67219489229ebc648be422af695f6e7a4fa7f", size = 4950807, upload-time = "2025-09-22T04:01:21.487Z" }, - { url = "https://files.pythonhosted.org/packages/da/87/f6cb9442e4bada8aab5ae7e1046264f62fdbeaa6e3f6211b93f4c0dd97f1/lxml-6.0.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:65ea18d710fd14e0186c2f973dc60bb52039a275f82d3c44a0e42b43440ea534", size = 5109179, upload-time = "2025-09-22T04:01:23.32Z" }, - { url = "https://files.pythonhosted.org/packages/c8/20/a7760713e65888db79bbae4f6146a6ae5c04e4a204a3c48896c408cd6ed2/lxml-6.0.2-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c371aa98126a0d4c739ca93ceffa0fd7a5d732e3ac66a46e74339acd4d334564", size = 5023044, upload-time = "2025-09-22T04:01:25.118Z" }, - { url = "https://files.pythonhosted.org/packages/a2/b0/7e64e0460fcb36471899f75831509098f3fd7cd02a3833ac517433cb4f8f/lxml-6.0.2-cp312-cp312-manylinux_2_26_i686.manylinux_2_28_i686.whl", hash = "sha256:700efd30c0fa1a3581d80a748157397559396090a51d306ea59a70020223d16f", size = 5359685, upload-time = "2025-09-22T04:01:27.398Z" }, - { url = "https://files.pythonhosted.org/packages/b9/e1/e5df362e9ca4e2f48ed6411bd4b3a0ae737cc842e96877f5bf9428055ab4/lxml-6.0.2-cp312-cp312-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c33e66d44fe60e72397b487ee92e01da0d09ba2d66df8eae42d77b6d06e5eba0", size = 5654127, upload-time = "2025-09-22T04:01:29.629Z" }, - { url = "https://files.pythonhosted.org/packages/c6/d1/232b3309a02d60f11e71857778bfcd4acbdb86c07db8260caf7d008b08f8/lxml-6.0.2-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:90a345bbeaf9d0587a3aaffb7006aa39ccb6ff0e96a57286c0cb2fd1520ea192", size = 5253958, upload-time = "2025-09-22T04:01:31.535Z" }, - { url = "https://files.pythonhosted.org/packages/35/35/d955a070994725c4f7d80583a96cab9c107c57a125b20bb5f708fe941011/lxml-6.0.2-cp312-cp312-manylinux_2_31_armv7l.whl", hash = "sha256:064fdadaf7a21af3ed1dcaa106b854077fbeada827c18f72aec9346847cd65d0", size = 4711541, upload-time = "2025-09-22T04:01:33.801Z" }, - { url = "https://files.pythonhosted.org/packages/1e/be/667d17363b38a78c4bd63cfd4b4632029fd68d2c2dc81f25ce9eb5224dd5/lxml-6.0.2-cp312-cp312-manylinux_2_38_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:fbc74f42c3525ac4ffa4b89cbdd00057b6196bcefe8bce794abd42d33a018092", size = 5267426, upload-time = "2025-09-22T04:01:35.639Z" }, - { url = "https://files.pythonhosted.org/packages/ea/47/62c70aa4a1c26569bc958c9ca86af2bb4e1f614e8c04fb2989833874f7ae/lxml-6.0.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:6ddff43f702905a4e32bc24f3f2e2edfe0f8fde3277d481bffb709a4cced7a1f", size = 5064917, upload-time = "2025-09-22T04:01:37.448Z" }, - { url = "https://files.pythonhosted.org/packages/bd/55/6ceddaca353ebd0f1908ef712c597f8570cc9c58130dbb89903198e441fd/lxml-6.0.2-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:6da5185951d72e6f5352166e3da7b0dc27aa70bd1090b0eb3f7f7212b53f1bb8", size = 4788795, upload-time = "2025-09-22T04:01:39.165Z" }, - { url = "https://files.pythonhosted.org/packages/cf/e8/fd63e15da5e3fd4c2146f8bbb3c14e94ab850589beab88e547b2dbce22e1/lxml-6.0.2-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:57a86e1ebb4020a38d295c04fc79603c7899e0df71588043eb218722dabc087f", size = 5676759, upload-time = "2025-09-22T04:01:41.506Z" }, - { url = "https://files.pythonhosted.org/packages/76/47/b3ec58dc5c374697f5ba37412cd2728f427d056315d124dd4b61da381877/lxml-6.0.2-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:2047d8234fe735ab77802ce5f2297e410ff40f5238aec569ad7c8e163d7b19a6", size = 5255666, upload-time = "2025-09-22T04:01:43.363Z" }, - { url = "https://files.pythonhosted.org/packages/19/93/03ba725df4c3d72afd9596eef4a37a837ce8e4806010569bedfcd2cb68fd/lxml-6.0.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:6f91fd2b2ea15a6800c8e24418c0775a1694eefc011392da73bc6cef2623b322", size = 5277989, upload-time = "2025-09-22T04:01:45.215Z" }, - { url = "https://files.pythonhosted.org/packages/c6/80/c06de80bfce881d0ad738576f243911fccf992687ae09fd80b734712b39c/lxml-6.0.2-cp312-cp312-win32.whl", hash = "sha256:3ae2ce7d6fedfb3414a2b6c5e20b249c4c607f72cb8d2bb7cc9c6ec7c6f4e849", size = 3611456, upload-time = "2025-09-22T04:01:48.243Z" }, - { url = "https://files.pythonhosted.org/packages/f7/d7/0cdfb6c3e30893463fb3d1e52bc5f5f99684a03c29a0b6b605cfae879cd5/lxml-6.0.2-cp312-cp312-win_amd64.whl", hash = "sha256:72c87e5ee4e58a8354fb9c7c84cbf95a1c8236c127a5d1b7683f04bed8361e1f", size = 4011793, upload-time = "2025-09-22T04:01:50.042Z" }, - { url = "https://files.pythonhosted.org/packages/ea/7b/93c73c67db235931527301ed3785f849c78991e2e34f3fd9a6663ffda4c5/lxml-6.0.2-cp312-cp312-win_arm64.whl", hash = "sha256:61cb10eeb95570153e0c0e554f58df92ecf5109f75eacad4a95baa709e26c3d6", size = 3672836, upload-time = "2025-09-22T04:01:52.145Z" }, +sdist = { url = "https://files.pythonhosted.org/packages/28/30/9abc9e34c657c33834eaf6cd02124c61bdf5944d802aa48e69be8da3585d/lxml-6.1.0.tar.gz", hash = "sha256:bfd57d8008c4965709a919c3e9a98f76c2c7cb319086b3d26858250620023b13", size = 4197006, upload-time = "2026-04-18T04:32:51.613Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d2/d4/9326838b59dc36dfae42eec9656b97520f9997eee1de47b8316aaeed169c/lxml-6.1.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:d2f17a16cd8751e8eb233a7e41aecdf8e511712e00088bf9be455f604cd0d28d", size = 8570663, upload-time = "2026-04-18T04:27:48.253Z" }, + { url = "https://files.pythonhosted.org/packages/d8/a4/053745ce1f8303ccbb788b86c0db3a91b973675cefc42566a188637b7c40/lxml-6.1.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:f0cea5b1d3e6e77d71bd2b9972eb2446221a69dc52bb0b9c3c6f6e5700592d93", size = 4624024, upload-time = "2026-04-18T04:27:52.594Z" }, + { url = "https://files.pythonhosted.org/packages/90/97/a517944b20f8fd0932ad2109482bee4e29fe721416387a363306667941f6/lxml-6.1.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:fc46da94826188ed45cb53bd8e3fc076ae22675aea2087843d4735627f867c6d", size = 4930895, upload-time = "2026-04-18T04:32:56.29Z" }, + { url = "https://files.pythonhosted.org/packages/94/7c/e08a970727d556caa040a44773c7b7e3ad0f0d73dedc863543e9a8b931f2/lxml-6.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:9147d8e386ec3b82c3b15d88927f734f565b0aaadef7def562b853adca45784a", size = 5093820, upload-time = "2026-04-18T04:32:58.94Z" }, + { url = "https://files.pythonhosted.org/packages/88/ee/2a5c2aa2c32016a226ca25d3e1056a8102ea6e1fe308bf50213586635400/lxml-6.1.0-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5715e0e28736a070f3f34a7ccc09e2fdcba0e3060abbcf61a1a5718ff6d6b105", size = 5005790, upload-time = "2026-04-18T04:33:01.272Z" }, + { url = "https://files.pythonhosted.org/packages/e3/38/a0db9be8f38ad6043ab9429487c128dd1d30f07956ef43040402f8da49e8/lxml-6.1.0-cp312-cp312-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:4937460dc5df0cdd2f06a86c285c28afda06aefa3af949f9477d3e8df430c485", size = 5630827, upload-time = "2026-04-18T04:33:04.036Z" }, + { url = "https://files.pythonhosted.org/packages/31/ba/3c13d3fc24b7cacf675f808a3a1baabf43a30d0cd24c98f94548e9aa58eb/lxml-6.1.0-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bc783ee3147e60a25aa0445ea82b3e8aabb83b240f2b95d32cb75587ff781814", size = 5240445, upload-time = "2026-04-18T04:33:06.87Z" }, + { url = "https://files.pythonhosted.org/packages/55/ba/eeef4ccba09b2212fe239f46c1692a98db1878e0872ae320756488878a94/lxml-6.1.0-cp312-cp312-manylinux_2_28_i686.whl", hash = "sha256:40d9189f80075f2e1f88db21ef815a2b17b28adf8e50aaf5c789bfe737027f32", size = 5350121, upload-time = "2026-04-18T04:33:09.365Z" }, + { url = "https://files.pythonhosted.org/packages/7e/01/1da87c7b587c38d0cbe77a01aae3b9c1c49ed47d76918ef3db8fc151b1ca/lxml-6.1.0-cp312-cp312-manylinux_2_31_armv7l.whl", hash = "sha256:05b9b8787e35bec69e68daf4952b2e6dfcfb0db7ecf1a06f8cdfbbac4eb71aad", size = 4694949, upload-time = "2026-04-18T04:33:11.628Z" }, + { url = "https://files.pythonhosted.org/packages/a1/88/7db0fe66d5aaf128443ee1623dec3db1576f3e4c17751ec0ef5866468590/lxml-6.1.0-cp312-cp312-manylinux_2_38_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0f0f08beb0182e3e9a86fae124b3c47a7b41b7b69b225e1377db983802404e54", size = 5243901, upload-time = "2026-04-18T04:33:13.95Z" }, + { url = "https://files.pythonhosted.org/packages/00/a8/1346726af7d1f6fca1f11223ba34001462b0a3660416986d37641708d57c/lxml-6.1.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:73becf6d8c81d4c76b1014dbd3584cb26d904492dcf73ca85dc8bff08dcd6d2d", size = 5048054, upload-time = "2026-04-18T04:33:16.965Z" }, + { url = "https://files.pythonhosted.org/packages/2e/b7/85057012f035d1a0c87e02f8c723ca3c3e6e0728bcf4cb62080b21b1c1e3/lxml-6.1.0-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:1ae225f66e5938f4fa29d37e009a3bb3b13032ac57eb4eb42afa44f6e4054e69", size = 4777324, upload-time = "2026-04-18T04:33:19.832Z" }, + { url = "https://files.pythonhosted.org/packages/75/6c/ad2f94a91073ef570f33718040e8e160d5fb93331cf1ab3ca1323f939e2d/lxml-6.1.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:690022c7fae793b0489aa68a658822cea83e0d5933781811cabbf5ea3bcfe73d", size = 5645702, upload-time = "2026-04-18T04:33:22.436Z" }, + { url = "https://files.pythonhosted.org/packages/3b/89/0bb6c0bd549c19004c60eea9dc554dd78fd647b72314ef25d460e0d208c6/lxml-6.1.0-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:63aeafc26aac0be8aff14af7871249e87ea1319be92090bfd632ec68e03b16a5", size = 5232901, upload-time = "2026-04-18T04:33:26.21Z" }, + { url = "https://files.pythonhosted.org/packages/a1/d9/d609a11fb567da9399f525193e2b49847b5a409cdebe737f06a8b7126bdc/lxml-6.1.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:264c605ab9c0e4aa1a679636f4582c4d3313700009fac3ec9c3412ed0d8f3e1d", size = 5261333, upload-time = "2026-04-18T04:33:28.984Z" }, + { url = "https://files.pythonhosted.org/packages/a6/3a/ac3f99ec8ac93089e7dd556f279e0d14c24de0a74a507e143a2e4b496e7c/lxml-6.1.0-cp312-cp312-win32.whl", hash = "sha256:56971379bc5ee8037c5a0f09fa88f66cdb7d37c3e38af3e45cf539f41131ac1f", size = 3596289, upload-time = "2026-04-18T04:27:42.819Z" }, + { url = "https://files.pythonhosted.org/packages/f2/a7/0a915557538593cb1bbeedcd40e13c7a261822c26fecbbdb71dad0c2f540/lxml-6.1.0-cp312-cp312-win_amd64.whl", hash = "sha256:bba078de0031c219e5dd06cf3e6bf8fb8e6e64a77819b358f53bb132e3e03366", size = 3997059, upload-time = "2026-04-18T04:27:46.764Z" }, + { url = "https://files.pythonhosted.org/packages/92/96/a5dc078cf0126fbfbc35611d77ecd5da80054b5893e28fb213a5613b9e1d/lxml-6.1.0-cp312-cp312-win_arm64.whl", hash = "sha256:c3592631e652afa34999a088f98ba7dfc7d6aff0d535c410bea77a71743f3819", size = 3659552, upload-time = "2026-04-18T04:27:51.133Z" }, ] [[package]] @@ -2676,7 +2676,7 @@ requires-dist = [ { name = "langchain-experimental", specifier = ">=0.3.4,<0.4" }, { name = "langchain-litellm", specifier = ">=0.5.1" }, { name = "langchain-openai", specifier = ">=0.3.2,<0.4" }, - { name = "litellm", specifier = "==1.83.0" }, + { name = "litellm", specifier = "==1.83.7" }, { name = "llama-index", specifier = ">=0.14.0,<0.15" }, { name = "llama-index-llms-openai", specifier = ">=0.6.0,<0.7" }, { name = "lxml", specifier = ">=6.0.0,<7" }, @@ -3090,7 +3090,7 @@ wheels = [ [[package]] name = "openai" -version = "2.29.0" +version = "2.30.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "anyio" }, @@ -3102,9 +3102,9 @@ dependencies = [ { name = "tqdm" }, { name = "typing-extensions" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/b4/15/203d537e58986b5673e7f232453a2a2f110f22757b15921cbdeea392e520/openai-2.29.0.tar.gz", hash = "sha256:32d09eb2f661b38d3edd7d7e1a2943d1633f572596febe64c0cd370c86d52bec", size = 671128, upload-time = "2026-03-17T17:53:49.599Z" } +sdist = { url = "https://files.pythonhosted.org/packages/88/15/52580c8fbc16d0675d516e8749806eda679b16de1e4434ea06fb6feaa610/openai-2.30.0.tar.gz", hash = "sha256:92f7661c990bda4b22a941806c83eabe4896c3094465030dd882a71abe80c885", size = 676084, upload-time = "2026-03-25T22:08:59.96Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/d0/b1/35b6f9c8cf9318e3dbb7146cc82dab4cf61182a8d5406fc9b50864362895/openai-2.29.0-py3-none-any.whl", hash = "sha256:b7c5de513c3286d17c5e29b92c4c98ceaf0d775244ac8159aeb1bddf840eb42a", size = 1141533, upload-time = "2026-03-17T17:53:47.348Z" }, + { url = "https://files.pythonhosted.org/packages/2a/9e/5bfa2270f902d5b92ab7d41ce0475b8630572e71e349b2a4996d14bdda93/openai-2.30.0-py3-none-any.whl", hash = "sha256:9a5ae616888eb2748ec5e0c5b955a51592e0b201a11f4262db920f2a78c5231d", size = 1146656, upload-time = "2026-03-25T22:08:58.2Z" }, ] [[package]] @@ -4102,11 +4102,11 @@ wheels = [ [[package]] name = "python-dotenv" -version = "1.2.2" +version = "1.0.1" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/82/ed/0301aeeac3e5353ef3d94b6ec08bbcabd04a72018415dcb29e588514bba8/python_dotenv-1.2.2.tar.gz", hash = "sha256:2c371a91fbd7ba082c2c1dc1f8bf89ca22564a087c2c287cd9b662adde799cf3", size = 50135, upload-time = "2026-03-01T16:00:26.196Z" } +sdist = { url = "https://files.pythonhosted.org/packages/bc/57/e84d88dfe0aec03b7a2d4327012c1627ab5f03652216c63d49846d7a6c58/python-dotenv-1.0.1.tar.gz", hash = "sha256:e324ee90a023d808f1959c46bcbc04446a10ced277783dc6ee09987c37ec10ca", size = 39115, upload-time = "2024-01-23T06:33:00.505Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/0b/d7/1959b9648791274998a9c3526f6d0ec8fd2233e4d4acce81bbae76b44b2a/python_dotenv-1.2.2-py3-none-any.whl", hash = "sha256:1d8214789a24de455a8b8bd8ae6fe3c6b69a5e3d64aa8a8e5d68e694bbcb285a", size = 22101, upload-time = "2026-03-01T16:00:25.09Z" }, + { url = "https://files.pythonhosted.org/packages/6a/3e/b68c118422ec867fa7ab88444e1274aa40681c606d59ac27de5a5588f082/python_dotenv-1.0.1-py3-none-any.whl", hash = "sha256:f7b63ef50f1b690dddf550d03497b66d609393b40b564ed0d674909a68ebf16a", size = 19863, upload-time = "2024-01-23T06:32:58.246Z" }, ] [[package]] @@ -5021,7 +5021,7 @@ wheels = [ [[package]] name = "typer" -version = "0.24.1" +version = "0.23.1" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "annotated-doc" }, @@ -5029,9 +5029,9 @@ dependencies = [ { name = "rich" }, { name = "shellingham" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/f5/24/cb09efec5cc954f7f9b930bf8279447d24618bb6758d4f6adf2574c41780/typer-0.24.1.tar.gz", hash = "sha256:e39b4732d65fbdcde189ae76cf7cd48aeae72919dea1fdfc16593be016256b45", size = 118613, upload-time = "2026-02-21T16:54:40.609Z" } +sdist = { url = "https://files.pythonhosted.org/packages/fd/07/b822e1b307d40e263e8253d2384cf98c51aa2368cc7ba9a07e523a1d964b/typer-0.23.1.tar.gz", hash = "sha256:2070374e4d31c83e7b61362fd859aa683576432fd5b026b060ad6b4cd3b86134", size = 120047, upload-time = "2026-02-13T10:04:30.984Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/4a/91/48db081e7a63bb37284f9fbcefda7c44c277b18b0e13fbc36ea2335b71e6/typer-0.24.1-py3-none-any.whl", hash = "sha256:112c1f0ce578bfb4cab9ffdabc68f031416ebcc216536611ba21f04e9aa84c9e", size = 56085, upload-time = "2026-02-21T16:54:41.616Z" }, + { url = "https://files.pythonhosted.org/packages/d5/91/9b286ab899c008c2cb05e8be99814807e7fbbd33f0c0c960470826e5ac82/typer-0.23.1-py3-none-any.whl", hash = "sha256:3291ad0d3c701cbf522012faccfbb29352ff16ad262db2139e6b01f15781f14e", size = 56813, upload-time = "2026-02-13T10:04:32.008Z" }, ] [[package]] diff --git a/yarn.lock b/yarn.lock index ba59f8d598..7db1909227 100644 --- a/yarn.lock +++ b/yarn.lock @@ -16400,6 +16400,7 @@ __metadata: "@mui/material-nextjs": "npm:^6.4.3" "@opentelemetry/api": "npm:^1.9.1" "@opentelemetry/exporter-trace-otlp-http": "npm:^0.214.0" + "@opentelemetry/resources": "npm:^2.6.1" "@opentelemetry/sdk-trace-base": "npm:^2.6.1" "@radix-ui/react-dropdown-menu": "npm:^2.1.16" "@radix-ui/react-popover": "npm:^1.1.15"